spmallette opened a new pull request, #3557: URL: https://github.com/apache/tinkerpop/pull/3557
The gremlin-javascript **Limitations** section in `docs/src/reference/gremlin-variants.asciidoc` states two limitations correctly but leaves a reader unable to tell what actually happens when they are hit. This change makes two of those bullets precise: - **Unsupported `Character` and `Duration` values.** The bullet now names the failure mode: if the server returns one of these types the client throws a deserialization error for the unknown type code, rather than failing silently or coercing the value. It also notes that these types cannot currently be produced from the client, since GremlinLang provides no literal syntax for them, so the failure is only observable against a server that emits them directly. - **The `subgraph()` detached graph.** The previous wording said the result "cannot be passed to `traversal().with(...)`", which is imprecise: passing it does not raise an error immediately. The bullet now explains that it yields a non-functional traversal source that fails only when a traversal is executed against it (surfacing as an opaque `this.connection.submit is not a function`). No behavior changes. Docs-only precision fix, scoped to this section; other variant sections are untouched. The docs render cleanly. -- 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]
