diegoholiveira / jsonlogic

Go Lang implementation of JsonLogic
MIT License
159 stars 49 forks source link

Custom operators are not examined by isOperator func which always results in invalid for rules with custom operators #47

Closed zachcheh closed 2 years ago

zachcheh commented 2 years ago

Here is an example. https://go.dev/play/p/1nPCQU2hFFA

diegoholiveira commented 2 years ago

Hey @zachcheh . Thanks to raise this issue. Would you mind in open an PR with a fix?

@lucianomagrao FYI

zachcheh commented 2 years ago

Happy to do it! Below is the PR. Let me know if you would like any other changes. https://github.com/diegoholiveira/jsonlogic/pull/48