You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering that a JSON Object can have keys can have non alpha numerical characters like . or -, those should be wrapped in a string in javascript.
I would assume that passing JSONObject input where: { "dot.path.thing": { name: 123 }}should still pass as valid input JSONObject, but the parser throws this error:
Syntax Error GraphQL request (3:30) Expected Name, found String
I'm assuming it's some kind of limitation though... Must all JSONObject keys be Name ?
The text was updated successfully, but these errors were encountered:
Has anyone found a solution to this? I am trying to store a JSON Schema in my database via a graphql mutation, but JSON Schema's inherently have keys that start with "$" like "$schema" and "$ref".
Considering that a JSON Object can have keys can have non alpha numerical characters like
.
or-
, those should be wrapped in a string in javascript.I would assume that passing JSONObject input
where: { "dot.path.thing": { name: 123 }}
should still pass as valid input JSONObject, but the parser throws this error:I'm assuming it's some kind of limitation though... Must all JSONObject keys be
Name
?The text was updated successfully, but these errors were encountered: