TINKERPOP-1901 Describe improved Gremlin.Net tokens in upgrade docs
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/df989dc4 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/df989dc4 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/df989dc4 Branch: refs/heads/TINKERPOP-1912 Commit: df989dc40ab7cf834b6ed275c453c4bb220315bf Parents: 4d5768b Author: Florian Hockmann <f...@florian-hockmann.de> Authored: Tue Mar 13 19:26:00 2018 +0100 Committer: Florian Hockmann <f...@florian-hockmann.de> Committed: Tue Mar 13 19:26:00 2018 +0100 ---------------------------------------------------------------------- docs/src/upgrade/release-3.2.x-incubating.asciidoc | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/df989dc4/docs/src/upgrade/release-3.2.x-incubating.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 7d2a80c..0cb8ddc 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -42,6 +42,17 @@ by clients that might mysteriously disappear without properly closing their conn See: link:https://issues.apache.org/jira/browse/TINKERPOP-1726[TINKERPOP-1726] +==== Gremlin.Net Tokens Improved + +The various Gremlin tokens (e.g. `T`, `Order`, `Operator`, etc.) that were implemented as Enums before in Gremlin.Net +are now implemented as classes. This mainly allows them to implement interfaces which their Java counterparts already +did. `T` for example now implements the new interface `IFunction` which simply mirrors its Java counterpart `Function`. +Steps that expect objects for those interfaces as arguments now explicitly use the interface. Before, they used just +`object` as the type for these arguments which made it hard for users to know what kind of `object` they can use. +However, usage of these tokens themselves shouldn't change at all (e.g. `T.Id` is still `T.Id`). + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1901[TINKERPOP-1901] + === Upgrading for Providers ==== Graph System Providers