[
https://issues.apache.org/jira/browse/TINKERPOP-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337477#comment-16337477
]
ASF GitHub Bot commented on TINKERPOP-1874:
-------------------------------------------
Github user spmallette commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/784#discussion_r163530046
--- Diff: docs/src/dev/io/graphson.asciidoc ---
@@ -3580,6 +3572,41 @@ The following `Bytecode` example represents the
traversal of `g.V().hasLabel('pe
}
----
+==== P within
--- End diff --
that's a good idea. i will make a note to do it after i merge if that's ok.
i'd rather not have to re-work the PR on master as a result of that little
change. i have a bunch of cleanup to do anyway after these merge.
> P does not appear to be serialized consistently in GraphSON
> -----------------------------------------------------------
>
> Key: TINKERPOP-1874
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1874
> Project: TinkerPop
> Issue Type: Bug
> Components: io
> Affects Versions: 3.2.7
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Major
>
> {{P}} deserialization seems to expect {{List}} arguments for collection
> oriented operators like {{within}} and {{outside}} so {{P.without("x")}}
> should wrap "x" in a {{List}} for serialization purposes. This causes
> weirdness in some GLVs. For example in .NET we see that the use of
> {{P.without("x")}} fails to deserialize the bytecode, but {{P.Without(new
> List<string>{"x"})}} will work fine. Just need to get this all straight and
> consistent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)