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
I wanted to create a json object field for graphql but when I filled the db with test data to check the new field the following error appeared: "JSONObject cannot represent non-object value: {\"test\":1,\"something\":\"2\"}"
For type definition I used a graphql scalar: scalar JSONObject
My resolver: JSONObject: GraphQLJSONObject
What can be wrong?
The text was updated successfully, but these errors were encountered:
I wanted to create a json object field for graphql but when I filled the db with test data to check the new field the following error appeared:
"JSONObject cannot represent non-object value: {\"test\":1,\"something\":\"2\"}"
For type definition I used a graphql scalar:
scalar JSONObject
My resolver:
JSONObject: GraphQLJSONObject
What can be wrong?
The text was updated successfully, but these errors were encountered: