You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two endpoints - one of them return entity for given group in specified version, while the other returns the latest entity for given group. Routing should look like this:
Right now it's no possible. Definition order does not matter.
panic: path segment 'latest' conflicts with existing wildcard ':version_id' in path '/:group_id/latest' [recovered] panic: path segment 'latest' conflicts with existing wildcard ':version_id' in path '/:group_id/latest'
I could check in entityDetails if version_id is latest and that's what I do right now, but it would be way nicer to allow to define static route, even if dynamic one already cover the same case.
The text was updated successfully, but these errors were encountered:
Hi,
I have two endpoints - one of them return entity for given group in specified version, while the other returns the latest entity for given group. Routing should look like this:
Right now it's no possible. Definition order does not matter.
I could check in
entityDetails
ifversion_id
islatest
and that's what I do right now, but it would be way nicer to allow to define static route, even if dynamic one already cover the same case.The text was updated successfully, but these errors were encountered: