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

Fix #589 match relationship with same name as source and target nodes #753

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

mariusconjeaud
Copy link
Collaborator

@mariusconjeaud mariusconjeaud commented Sep 26, 2023

See #589

To prevent this, when building a traversal, name the target node as "{traversal_name}_{relationship_name}".

So the new query will look like :

MATCH (extension) WHERE id(extension)=12796 WITH extension MATCH ((extension)-[r1:extension]->(extension_r1:Extension)) RETURN extension_r1

@mariusconjeaud mariusconjeaud merged commit 9e89359 into rc/5.1.2 Sep 26, 2023
6 checks passed
@mariusconjeaud mariusconjeaud deleted the task/issue-589 branch September 26, 2023 14:22
@sonarcloud
Copy link

sonarcloud bot commented Sep 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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

Successfully merging this pull request may close these issues.

1 participant