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

[3yfKdDEx] Give a clear error message when a relationship is defined before its node #636

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

gem-neo4j
Copy link
Contributor

If a relationship in a graphml file are defined before the nodes they reference, a null error is thrown which is not very descriptive. So this updates it to make it clearer.

Note, I looked into holding off and continuing with the nodes and coming back to the missed relationship, but it gets complicated because the file is read line by line and the properties etc are part of this. But let me know if you think we should be doing that approach instead. It is doable, but I am not sure of the use case (as this is the first issue finding this).

@gem-neo4j gem-neo4j force-pushed the dev_graphml_descriptive_error_message branch from ee3753b to 58bd6ee Compare June 18, 2024 06:11
@Lojjs Lojjs self-assigned this Jun 18, 2024
Copy link
Contributor

@Lojjs Lojjs left a comment

Choose a reason for hiding this comment

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

Looks good

@gem-neo4j gem-neo4j merged commit 5d16a54 into dev Jun 24, 2024
20 checks passed
@gem-neo4j gem-neo4j deleted the dev_graphml_descriptive_error_message branch June 24, 2024 07:28
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.

None yet

2 participants