andreachild commented on code in PR #3090:
URL: https://github.com/apache/tinkerpop/pull/3090#discussion_r2031774276
##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Translator.java:
##########
@@ -310,6 +316,9 @@ protected Script convertToScript(final Object object) {
} else if (object instanceof Date) {
final Object objectOrWrapper = withParameters ? object :
getSyntax((Date) object);
return script.getBoundKeyOrAssign(withParameters,
objectOrWrapper);
+ } else if (object instanceof OffsetDateTime) {
+ final Object objectOrWrapper = withParameters ? object :
getSyntax((OffsetDateTime) object);
+ return script.getBoundKeyOrAssign(withParameters,
objectOrWrapper);
Review Comment:
I believe it should stay because both `Date` and `OffsetDateTime` types are
still supported, just now the default is `OffsetDateTime`.
--
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]