CacheControl / json-rules-engine

A rules engine expressed in JSON
ISC License
2.54k stars 455 forks source link

Add support for condition params inside operator functions #312

Closed casparss closed 1 year ago

casparss commented 1 year ago

As my app has scaled up, I began writing a lot of custom operators and needed the operator to perform more complex operations that used extra config to perform the operation.

casparss commented 1 year ago

Hey @CacheControl let me know what you think of this PR

casparss commented 1 year ago

PR now has other commits in master that shouldn't be in the PR and are for my private use, so will change remove them out so it's just the change mentioned in the title

CacheControl commented 1 year ago

Custom operators have been available for many years without this feature being requested; this is a rare need. Closing until there's more community demand, at which point we can re-open.