Skip to content

Wrapping Cypher breaks query #403

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

Open
konsalex opened this issue May 25, 2021 · 2 comments
Open

Wrapping Cypher breaks query #403

konsalex opened this issue May 25, 2021 · 2 comments

Comments

@konsalex
Copy link

Describe the bug
When I try to wrap a long Cypher query, it breaks (at least visually).

To Reproduce
Steps to reproduce the behavior:

  1. Go to this awesome website
  2. Paste the code below
DENY MERGE { secret, super_secret } ON GRAPHS * TO intern
(p:Person {name: "Jennifer"})-[rel:LIKES]->(g:Technology {type: "Graphs"})
FOREACH (_ in CASE row.type WHEN "DIRECTED" then [1] else [] end | MERGE (p)-[:DIRECTED]->(m))
  1. Select Cypher as the desired language
  2. See error

Expected Behaviour

When the Show lines is selected and Wrap long lines the query breaks in a wrong "breakpoint", while without the Show lines options it works as expected.

Screenshots
image
image
image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 90.0.4430.212
@konsalex
Copy link
Author

konsalex commented May 25, 2021

I though this was a Cypher bug, but just noticed that #376, #375 , #403 and maybe more are also facing the same issue.

@PisecesPeng
Copy link

I though this was a Cypher bug, but just noticed that #376, #375 , #403 and maybe more are also facing the same issue.

maybe me too #402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants