Closed j0057 closed 6 months ago
The page https://ariadnegraphql.org/docs/error-messaging has this GraphQL schema example:
type Mutation { login(username: String!, password: String!) { error: String user: User } }
Defining some kind of anonymous sub-object doesn't seem to be valid GraphQL schema, either with or without a : between the ) and the {.
:
)
{
It should be something like this:
type Mutation { login(username: String!, password: String!): LoginResult } type LoginResult { error: String user: User }
Fixed. Thanks for reporting!
The page https://ariadnegraphql.org/docs/error-messaging has this GraphQL schema example:
Defining some kind of anonymous sub-object doesn't seem to be valid GraphQL schema, either with or without a
:
between the)
and the{
.It should be something like this: