Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See all project's routes with a simple command #130

Open
gcugnet opened this issue Apr 30, 2024 · 1 comment
Open

See all project's routes with a simple command #130

gcugnet opened this issue Apr 30, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gcugnet
Copy link

gcugnet commented Apr 30, 2024

Is your feature request related to a problem? Please describe.
It is always useful to have a global and concise view of all routes available on your project.

Describe the solution you'd like
It would be nice to be able to see the routes in you app's default router + the routes generated from Ash framework in a single view.
Something like

mix phx.route

But which would show Ash generated routes in addition to the default router's "hand-written" routes.

Describe alternatives you've considered
For now we can use the command described in the AshJsonApi doc:

AshJsonApi.Resource.Info.routes/1

source = https://hexdocs.pm/ash_json_api/getting-started-with-json-api.html#run-your-api

Express the feature either with a change to resource syntax, or with a change to the resource interface

I don’t know.

Additional context

I have nothing more to say.

@gcugnet gcugnet added enhancement New feature or request needs review labels Apr 30, 2024
@zachdaniel zachdaniel added good first issue Good for newcomers and removed needs review labels Apr 30, 2024
@zachdaniel
Copy link
Contributor

Great idea :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

2 participants