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

📐 A fast, general-purpose JSON Rules Engine.

Results 14 rules-machine issues
Sort by recently updated
recently updated
newest added

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

This one may be by design, but it makes removal of an item via rules a little clumsy. Perhaps there's a better example that can be added to the docs...

In order to parse traces better, it would be good to have a `name` and `description` property for each rule that are passed through to the logging trace.

The final commit on [PR #46 Nested Rules](https://github.com/elite-libs/rules-machine/pull/46) that switched from throwing `'BREAK'` to returning it broke the functionality. Unfortunately, someone , **cough** @chhatch **cough** **cough**, didn't add any tests...

## Create unified Rule types & runtime check helpers ```ts export type Rule = | string | IfThenElseRule | AndRule | OrRule | ReturnRule | TryCatchRule | Rule[]; type RulesStrings...

Sometimes business rules need access to external data (from a Database, HTTP API, AI/ML Service, etc.) ## Goals - [ ] Support JSON config-style declaration. - [ ] Securely reference...

enhancement

When a rule set is executed on an object that object gets mutated. ```js const fishRhyme = ruleFactory([ { if: 'fish == "oneFish"', then: 'fish = "twoFish"' }, { if:...

https://github.com/react-querybuilder/react-querybuilder https://github.com/FGRibreau/ui-predicate # Example Existing Systems Mailchimp segmentation | Zapier tweets filtering ------------ | ------------- | ![Mailchimp segmentation](https://github.com/FGRibreau/ui-predicate/raw/master/docs/mailchimp-filtering.gif) | ![Zapier tweets filtering](https://github.com/FGRibreau/ui-predicate/raw/master/docs/zapier-filtering.gif) Google Analytics segments | Uservoice rules ------------- |...