vinzdeveloper / json-rule-editor

Json rule editor
GNU General Public License v3.0
361 stars 104 forks source link

Working with fact type object creates issue while validating #58

Closed mazharVenD closed 1 year ago

mazharVenD commented 1 year ago

I have followed below link to create an employee advance step ruleset https://vinzdeveloper.github.io/json-rule-editor/docs/advanced.html

image

But it shows below error while validating:

image

vinzdeveloper commented 1 year ago

Yes we cant validate the path params in json rule editor, its restrictions from json-rule-engine actually (its mentioned in the documentation already). the purpose of having path params is to handle the value comes from api or other data objects actually. At the moment, its not handled in json rule editor. but i will think about it if there is anyway we can do it to validate this kind of facts.