You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @austinarbor, the right way to handle this is with the "over" keyword, although this was not totally hooked up before. I believe this will work with the latest release v3.4.9. Kazaam generally was built with the assumption that the input is a JSON object rather than a top level array so I'm not sure whether this will work in all cases, but with the fix it does seem to work for the case you described.
Please confirm whether this now works for your use case, and drop a new issue if you notice any further weirdness for other cases. Here's what I did locally after the fix:
Is it possible to use shift when the root is an array?
Given the json
And the spec
The result is
It should be
The text was updated successfully, but these errors were encountered: