-
Notifications
You must be signed in to change notification settings - Fork 814
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
[TINKERPOP-3105] Running 3.6.x python-driver with 3.7.x server leads to deserialization errors #2742
Conversation
a5c78bb
to
55f7b73
Compare
Did you do the same check for VertexPropertySerializer or are metaproperties expected to be empty list instead of null. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.7-dev #2742 +/- ##
=============================================
+ Coverage 76.14% 76.74% +0.59%
- Complexity 13152 13204 +52
=============================================
Files 1084 1087 +3
Lines 65160 66436 +1276
Branches 7285 7309 +24
=============================================
+ Hits 49616 50984 +1368
+ Misses 12839 12743 -96
- Partials 2705 2709 +4 ☔ View full report in Codecov by Sentry. |
55f7b73
to
bfa074d
Compare
Yes, that's now also updated to write |
Does GraphSON have these problems with 3.6.x drivers connecting to 3.7x servers? |
VOTE+1 |
No, GraphSON works fine, I've only seen errors in GraphBinary when I tested them. I'll update the docs to specify that. |
…instead of empty list in GraphBinary serializer for compatibility
bfa074d
to
4033144
Compare
…to empty list for compatibility
VOTE +1 |
Currently, when skipping properties either via
tokens
orReferenceElementStrategy
withGraphBinaryV1
, properties on element will return the default empty list, however drivers of older versions are expectingnull
properties for Reference Elements, as such serialization errors can occur in GLVs that does strict checking (i.e.python
andgo
).This PR updated the check to ReferenceVertex/Edge as
value.properties() == null
won't be reached, and will writenull
for properties of Reference Elements in the GraphBinary serializer.Also updated docs to make it more clear.