-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing variables in Object with key containing a dot #23
Comments
Hey @tatarysh, I believe I've seen this issue pop up before in the original json-logic-js repo: And semi-related: The suggestion to use the dot-prop convention is a solid recommendation. I may take a peek into issue 110 from json-logic-js with a bit more intent after merging this in. |
Add support for dot-prop syntax to resolve #23
Hi, I've published Please let me know if you run into any issues / have any recommendations! (I will need to update the documentation to include this information) |
great job, thanks 🙏 |
I encountered an issue related to accessing variables within an object where the key contains a dot. The logical query looks like this:
And the payload is:
Currently, there is no access to the
hello.world
variable. I believe it would be beneficial to adopt the convention used in thedot-prop
package, where access to such a key is possible by including a double backslash before the dot in the key. Therefore, for the mentioned query, it should look like this:The text was updated successfully, but these errors were encountered: