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

The condition between "matches" and "equals" is OR? This should be AND? #122

Open
TsubasaEX opened this issue Aug 17, 2022 · 0 comments
Open

Comments

@TsubasaEX
Copy link

TsubasaEX commented Aug 17, 2022

{ "service": "service", "method": "method", "input": { "matches": { "name": "[^\n]+" },"equals":{ "cat_name": "abc" } }, "output": { "data": { "name": "amy", "id": 77 } } }

I found the above condition will be matched even though I have a input with "cat_name" as "efg".
This is weird, because I thought it should be an AND condition here between "matches" and "equals".

Don't know what's the expected behavior, could you help check this?
Thanks.
version: version (v1.10)

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

No branches or pull requests

1 participant