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

refactor: Extract all metadata queries used into a separate resource. #530

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

michael-simons
Copy link
Collaborator

Thus we avoid the (nice) JDK 17 string literals and (ugly) String concatenations.
In addition it could open up the possibility to have several variants of those, for past and future Neo4j versions.

Properties format has been chosen because it's one of the easiest to read without dependencies.
XML would be another option, but that would actually but more weight in on GraalVM native image or the module path.

Adding libraries for JSON or YAML is not worth the additional weight for this.

Thus we avoid the (nice) JDK 17 string literals and (ugly) String concatenations.
In addition it could open up the possibility to have several variants of those, for past and future Neo4j versions.

Properties format has been chosen because it's one of the easiest to read without dependencies.
XML would be another option, but that would actually but more weight in on GraalVM native image or the module path.

Adding libraries for JSON or YAML is not worth the additional weight for this.
@michael-simons michael-simons self-assigned this Feb 29, 2024
Copy link
Contributor

@ConorNeo ConorNeo left a comment

Choose a reason for hiding this comment

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

Nice! :D, (love the YOLO comment)

@michael-simons michael-simons merged commit 62807a6 into main Mar 1, 2024
10 checks passed
@michael-simons michael-simons deleted the issue/refactoring-queries branch March 1, 2024 08:16
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.

2 participants