Skip to content

Conversation

@innocenzi
Copy link
Member

Closes #1722

This PR introduces a lookup by controller method for all routes, so the URI generator can use it instead of reproducing the logic inside the route discovery.

It also handles an edge case where a controller method has multiple different routes: in this case, an exception is thrown to suggest the user to specify the path manually, to avoid any confusion since the previous behavior would be confusing (before, it would use the first defined route).

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.

uri generator not picking up class attributes

2 participants