[
https://issues.apache.org/jira/browse/TINKERPOP-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235510#comment-17235510
]
ASF GitHub Bot commented on TINKERPOP-2479:
-------------------------------------------
spmallette opened a new pull request #1361:
URL: https://github.com/apache/tinkerpop/pull/1361
https://issues.apache.org/jira/browse/TINKERPOP-2479
https://issues.apache.org/jira/browse/TINKERPOP-2478
Also fixes TINKERPOP-2478 where whitespace was a problem with the
from/translate options. See doc changes for more information on the changes
along with examples. Note that `Date` is fine now and works by default without
use of the new `config` option:
```text
gremlin> :bc from g.V().property('d', new Date())
==>{"@type":"g:Bytecode","@value":{"step":[["V"],["property","d",{"@type":"g:Date","@value":1605795962056}]]}}
```
Tested manually - we don't have a good way to test these kinds of commands.
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Provide a way to set a custom GraphSONMapper for :bytecode command
> ------------------------------------------------------------------
>
> Key: TINKERPOP-2479
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2479
> Project: TinkerPop
> Issue Type: Improvement
> Components: console
> Affects Versions: 3.4.8
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
>
> Allow for something like:
> {code}
> gremlin> m = GraphSONMapper.build().create()
> ==>org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONMapper@69d6a7cd
> gremlin> :bc config m
> ==>Configured bytecode serializer
> {code}
> With this fine grained control of that mapper users can add custom
> serializers and we will better support graph providers who might have custom
> classes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)