Joseph D. Purcell

Results 68 comments of Joseph D. Purcell
trafficstars

Using the latest version I ran this: ```js jsonLogic.apply( {"all" : [ { var: 'current_value' }, { in: [ { "var":"" }, [ 0, 'A', 'B', 'C', ' ' ]...

One additional note: I did test the examples to make sure they work, and they do in fact work.

This is excellent. Has anyone considered making a semi-formal (or formal) specification for JSON logic? I don't see something resembling a "spec", I looked at https://jessemitchell.me/json-logic-engine/ too. Edit: I just...

Agreed. It looks like the latest version has these code changes included.

The functionality described in https://github.com/jwadhams/json-logic-js/issues/116 would enable someone to write their own operation to achieve this, I believe.

The title of the issue caught my attention. I really like JSON Logic. It seems incredibly powerful. I think the issue described here: https://github.com/jwadhams/json-logic-js/issues/116 and the related PR could make...

See https://github.com/jwadhams/json-logic-js/issues/108. There is typescript support: ```bash npm install --save-dev @types/json-logic-js ```

This is supported https://github.com/jwadhams/json-logic-js/blob/master/logic.js#L129.

Yep, those are the right types: ```bash npm install --save-dev @types/json-logic-js ```

I like the idea of compatibility / support for GraphQL. An alternative approach might be to put this as a different package? The idea would be to have some new...