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

[BUG] if string is a constant expr not containing any variable, the result is wrong #15

Open
wangzhanbing opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@wangzhanbing
Copy link

wangzhanbing commented Dec 8, 2023

if string is a constant expr not containing any variable, the result is wrong
for example

rawYQL = "3>1"
result, err = yql.Match(rawYQL, map[string]interface{}{})
fmt.Println(rawYQL, "is ", result, "err: ", err)

# Output: 3>1 is  false err:  <nil>

expect result is true

@caibirdme caibirdme added the bug Something isn't working label Dec 8, 2023
@caibirdme caibirdme self-assigned this Dec 8, 2023
@wangzhanbing
Copy link
Author

wangzhanbing commented Dec 14, 2023

Do you have expected time fixing this bug ?

otherwise, I think we can add a parameter to config whether to ignore upper or lower in expr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants