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
// validate the query against the schema. The GraphQL validation function returns an array of errors.
68
+
constvalidationErrors=validate(schema,queryAST);
69
+
// check if the length of the returned GraphQL Errors array is greater than zero. If it is, there were errors. Call next so that the GraphQL server can handle those.
0 commit comments