node-rules icon indicating copy to clipboard operation
node-rules copied to clipboard

Question: dynamically loading rules

Open jackie-chan opened this issue 5 years ago • 1 comments

First of all, thanks so much for this rules engine! It's pretty much exactly what I was looking for! The one question I have is what is the recommended way to dynamically load rules from a separate data store? I see the examples of loading in facts via an API call to an external system, but is there a good example or a recommended approach to creating rules in an external system and loading them in, given the structure of the rule is not "true JSON"?

Thanks!

jackie-chan avatar Apr 08 '20 15:04 jackie-chan

First of all, thanks so much for this rules engine! It's pretty much exactly what I was looking for! The one question I have is what is the recommended way to dynamically load rules from a separate data store? I see the examples of loading in facts via an API call to an external system, but is there a good example or a recommended approach to creating rules in an external system and loading them in, given the structure of the rule is not "true JSON"?

Thanks!

@jackie-chan ,

Curious if you came up with a good solution for this? Thanks.

davout1806 avatar Mar 22 '21 02:03 davout1806