Skip to content
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

JSONPath not parsed correctly on SET queries #204

Open
noetarbouriech opened this issue Feb 24, 2025 · 1 comment
Open

JSONPath not parsed correctly on SET queries #204

noetarbouriech opened this issue Feb 24, 2025 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@noetarbouriech
Copy link
Contributor

Hi 👋 ,

I tried to execute some queries in JSONPaths as I've noticed it has been implemented (#190).
However, I found out that SET queries in JSONPaths don't seem to work as expected.

When doing the following:

MATCH (d:deploy) WHERE d.metadata.annotations.meta\.cyphernet\.es/foo = "bar" RETURN d.metadata.annotations.meta\.cyphernet\.es/foo;

Everything works as expected, I'm able to get the deployment with the right annotation.

But, when I try to do a SET request, like so:

MATCH (d:deploy) WHERE d.metadata.annotations.meta\.cyphernet\.es/foo = "bar" SET d.metadata.annotations.meta\.cyphernet\.es/foo = "test";

The annotation ends up getting cut short like so: es/foo: test

@AvitalTamir
Copy link
Owner

Good catch. Will prioritize this.

Thanks for reporting @noetarbouriech!

@AvitalTamir AvitalTamir added the bug Something isn't working label Feb 24, 2025
@AvitalTamir AvitalTamir added this to the v0.17 milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants