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

Fixed issue with properties in CloneSubgraph #715

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

JoelBergstrand
Copy link
Contributor

@JoelBergstrand JoelBergstrand commented Jan 7, 2025

Fixes bug introduced in PR were properties on relationships are lost when using cloneSubgraph.

@JoelBergstrand JoelBergstrand force-pushed the 2025.01-CloneSubgraph-properties-issue branch from a0a74ff to 4601775 Compare January 8, 2025 10:49
build.gradle Outdated Show resolved Hide resolved
Copy link
Contributor

@loveleif loveleif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning up after me 🧹

Comment on lines +472 to +473
final var clean = tx.execute("MATCH (n) DETACH DELETE n");
final var create = tx.execute("CREATE (:A)-[:R{id:\"ID1\"}]->(:B)");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works so it's fine (because it's write queries I assume), but FYI the results generally needs to be consumed.

@JoelBergstrand JoelBergstrand merged commit 4ecc788 into dev Jan 8, 2025
11 checks passed
@JoelBergstrand JoelBergstrand deleted the 2025.01-CloneSubgraph-properties-issue branch January 8, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants