Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions modules/ROOT/pages/notifications/all-notifications.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1572,6 +1572,10 @@ Returned GQLSTATUS code::
Returned status description::
warn: feature deprecated.
The namespace used by the user-defined function `point.function` is deprecated.

Suggestions for improvement::
Change the namespace to a non-deprecated namespace e.g. `my.point.function` or `pointing.function`.

======
[.include-with-neo4j-code]
======
Expand All @@ -1582,7 +1586,7 @@ Query::
RETURN point.function() AS result
----
Description of the returned code::
The namespace of the invoked function is deprecated. (point.function)
The namespace of the invoked user-defined function is deprecated. (point.function)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we allowed to change the neo4j codes' descriptions? As far as I know, this would be a breaking change.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The descriptions should match the codebase. If we change them here, we need to change them there as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes in this case it is fine because the description is brand new for this feature so it is not breaking for anyone yet to change it

======
=====

Expand All @@ -1603,7 +1607,11 @@ Returned GQLSTATUS code::

Returned status description::
warn: feature deprecated.
The namespace used by the procedure `point.procedure` is deprecated.
The namespace used by the user-defined procedure `point.procedure` is deprecated.

Suggestions for improvement::
Change the namespace to a non-deprecated namespace e.g. `my.point.procedure` or `pointing.procedure`.

======
[.include-with-neo4j-code]
======
Expand All @@ -1615,7 +1623,7 @@ CALL point.procedure() AS result
RETURN result
----
Description of the returned code::
The namespace of the called procedure is deprecated. (point.procedure)
The namespace of the called user-defined procedure is deprecated. (point.procedure)
======
=====

Expand All @@ -1635,7 +1643,11 @@ Returned GQLSTATUS code::

Returned status description::
warn: feature deprecated.
The namespace of the invoked function `coll.flatten` is deprecated and the function is shadowing an internal function.
The namespace of the invoked user-defined function `coll.flatten` is deprecated and the function is shadowing an internal function.

Suggestions for improvement::
Change the namespace to a non-deprecated namespace e.g. `my.coll.flatten` or `collection.flatten`.

======
[.include-with-neo4j-code]
======
Expand All @@ -1646,7 +1658,7 @@ Query::
RETURN coll.flatten() AS result
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, this one, never heard of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

coll.flatten is in the pipeline to be implemented. Hopefully in 2025.11 as well. This notification shows when a used defined function shadows a builtin function that is in a deprecated namespace.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see. Then, we should make sure that this PR is merged after coll.flatten is implemented.

----
Description of the returned code::
The namespace of the invoked function is deprecated and the function is shadowing an internal function. (coll.flatten)
The namespace of the invoked user-defined function is deprecated and the function is shadowing an internal function. (coll.flatten)
Copy link
Contributor

Choose a reason for hiding this comment

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

There is also a table 15 further up with all possible descriptions for 01N00 where you could add these as well.

======
=====

Expand Down