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

Update apoc help so that it does not rely on extended at all #691

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

gem-neo4j
Copy link
Contributor

@gem-neo4j gem-neo4j commented Nov 20, 2024

APOC help was relying on a file existing in extended to know whether or not a function or procedure belonged to APOC core/extended. This felt superfluous, so have fixed it up.

(Also sneaky traceability fix)

@gem-neo4j gem-neo4j force-pushed the dev_apoc_help_update branch from 4ca1ff7 to d098eaf Compare November 20, 2024 14:11
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.

Nice reduction of complexity! I don't understand why we even have this procedure when SHOW PROCEDURE exists...

@@ -11,7 +11,7 @@ on:
- synchronize

jobs:
validate-pr:
traceability:
Copy link
Contributor

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I realised the traceability trigger didn't work for comments being added, and this was the culprit, so I snuck it in here

"apoc.agg.slice");
;

public static final List<String> coreProcedures25 = List.of(
Copy link
Contributor

Choose a reason for hiding this comment

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

Not important, the other was called ...V5.


public class HelpUtil {
// Please update here on the addition of any new procedures or functions!
public static final List<String> coreProceduresV5 = List.of(
Copy link
Contributor

Choose a reason for hiding this comment

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

Make these sets?

@gem-neo4j gem-neo4j merged commit 18e352d into dev Nov 27, 2024
11 checks passed
@gem-neo4j gem-neo4j deleted the dev_apoc_help_update branch November 27, 2024 08:04
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