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 should match fixed first, then with param path #2254

Closed
elvizlai opened this issue Jul 29, 2021 · 2 comments
Closed

route should match fixed first, then with param path #2254

elvizlai opened this issue Jul 29, 2021 · 2 comments
Labels

Comments

@elvizlai
Copy link

🚀 Feature

For example two routes:

  1. /api/user/xxx
  2. /api/user/{id}

route should always match /api/user/xxx which is fixed first.

@johanbrandhorst
Copy link
Collaborator

Hi, thanks for your issue. Could you clarify whether this is a bug report or a feature request? I think the existing path resolution logic in the gateway is quite complex already, and I'd be surprised if this case isn't already handled intentionally.

@stale
Copy link

stale bot commented Oct 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants