-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add "deprecatedBy"-message to deprecated procedure/function warnings #314
base: main
Are you sure you want to change the base?
Conversation
|
0b4678b
to
4556d11
Compare
Changes warnings for deprecated functions/procedures to also include the suggested replacement when available.
If the "SHOW PROCEDURES/FUNCTIONS" field deprecatedBy is available we now get warnings like -
CALL apoc.create.uuids(5);
-> warning = Procedure apoc.create.uuids is deprecated. Neo4j's randomUUID() function can be used as a replacement, for example:
UNWIND range(0,$count) AS row RETURN row, randomUUID() AS uuid
vs old:
-> warning = Procedure apoc.create.uuids is deprecated.