[
https://issues.apache.org/jira/browse/TINKERPOP-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741959#comment-17741959
]
ASF GitHub Bot commented on TINKERPOP-2963:
-------------------------------------------
saikiranboga commented on PR #2115:
URL: https://github.com/apache/tinkerpop/pull/2115#issuecomment-1630673880
> Using `application/vnd.gremlin-v1.0+json` it conflicts with
GraphSONMessageSerializerGremlinV1d0. User/provider can never configure server
to use both of them(same problem as `application/json`). Adding `sparse=true`
distinguishes this from `application/vnd.gremlin-v1.0+json` not so much that
it's a different format but very similar. We can change it to something like
`application/vnd.gremlin-v1.0+json+text` or similar if sparse feels odd.
Thanks. Something like `type=true` seem more closer to the intention.
`strict/sparse` could support more under the naming than closely linking to
just type, but I am unsure if there are any plans to make the serializer
support more than this.
> Introduce new mimeType to return GraphSon-1.0 in text format
> ------------------------------------------------------------
>
> Key: TINKERPOP-2963
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2963
> Project: TinkerPop
> Issue Type: Improvement
> Reporter: Phanindhra
> Priority: Major
> Fix For: 3.7.0, 3.6.5
>
>
> Users/Providers who wish to use GraphSON-1.0 in text format should make
> serializer
> {{_GraphSONMessageSerializerV1d0_}} default serializer. Alternatively
> introduce new mimeType {{_application/vnd.gremlin-v1.0+json;sparse=true_}} to
> let users/providers use GraphSON-1.0 in text format without changing defaults.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)