kenhuuu commented on PR #3428:
URL: https://github.com/apache/tinkerpop/pull/3428#issuecomment-4559919348
> > What does `subgraph("sg").cap("sg").asString()` return? I noticed that
you made a change to what the string output of the Graph is and I'm wondering
if it impacts this step. Are there tests for this?
>
> `asString()` is untouched and should remain the same. I added a feature
test for this. I just corrected `toString()` for GLVs as it used to return
`"graph[]"`.
Yea, there's still something a bit odd about this to me but I guess its
comes down again to the fact that Java has more capabilities than the other
GLVs. The deserializer in Java actually turns the Graph into a TinkerGraph so
the toString() and asString() match, but you don't have this in the other GLVs.
In any case, it's fairly small and I don't think anyone will probably notice.
VOTE +1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]