SB
export const getFoo = gql`
query getFoo {
foo
}
`
Size: a a a
SB
export const getFoo = gql`
query getFoo {
foo
}
`
ꟿ
C:\Users\K\repos\server\node_modules\graphql\error\syntaxError.js:15
return new _GraphQLError.GraphQLError("Syntax Error: ".concat(description), undefined, source, [position]);
^
GraphQLError: Syntax Error: Expected Name, found }
SB
SB
ꟿ
ꟿ
Error: "foo" defined in resolvers, but not in schema
ꟿ
ꟿ
{
"data": {
"foo": null
}
}
ꟿ
ꟿ
type Query {
root: String
foo: String
}
SB
ꟿ
YP
A
YP
A
YP
ꟿ