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

Route detection with CLI logging and helper methods #28

Open
jacobconley opened this issue Jun 20, 2021 · 2 comments
Open

Route detection with CLI logging and helper methods #28

jacobconley opened this issue Jun 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jacobconley
Copy link
Owner

We can create another implementation of the router interface that doesn't match or run any routes, and programmatically determine routes based on that.

Helper methods would be cool too, we could use reflection and make like a URLFor( User{ ID: 23 } ). However this opens the can of worms of having to detect which ID field to use, by either committing to an ORM or homebrewing something ourselves

@jacobconley jacobconley added the enhancement New feature or request label Jun 20, 2021
@jacobconley
Copy link
Owner Author

May not need to mock it ourselves? Mux has this function. But it'd probably be helpful for us to organize resources or whatever later on

@jacobconley
Copy link
Owner Author

Related #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant