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

support all operators in vars field #2014

Closed
2 tasks
juzhiyuan opened this issue Jul 29, 2021 · 0 comments · Fixed by #2022
Closed
2 tasks

support all operators in vars field #2014

juzhiyuan opened this issue Jul 29, 2021 · 0 comments · Fixed by #2022
Milestone

Comments

@juzhiyuan
Copy link
Member

When creating a Route, we could use the vars field to allow more advanced match rules.

image

There have 2 things we could improve:

  • For each operator, we could support different actions on the value field. e.g when using the IN operator, we could use an Ant Design component that allows input values by clicking the Enter key.
  • Check if we are missing some operators from https://github.com/api7/lua-resty-expr

Documentation: https://apisix.apache.org/docs/apisix/2.7/admin-api/#request-body-parameters

@juzhiyuan juzhiyuan added this to the 2.7.1 milestone Jul 29, 2021
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 a pull request may close this issue.

1 participant