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

Move router creation into one file #582

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Move router creation into one file #582

merged 2 commits into from
Sep 10, 2024

Conversation

aumetra
Copy link
Member

@aumetra aumetra commented Sep 9, 2024

I prefer this style since it makes it easier for us to wrap specific routes into layers (such as the media upload routes into the modified max body size), and makes it pretty easy to keep track of all routes.

That's similar to how Phoenix handles its routes, too, and it makes sense.

@aumetra aumetra merged commit 8997471 into main Sep 10, 2024
17 of 19 checks passed
@aumetra aumetra deleted the aw/unify-router branch September 10, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant