Skip to content

Navigation Menu

Sign in
Sign up

Response for graphiQL does not work correctly #13

Open

Description

I use https://github.com/skevy/graphiql-app
request with params

query IntrospectionQuery {
 __schema {
 queryType {
 name
 }
 mutationType {
 name
 }
 subscriptionType {
 name
 }
 types {
 ...FullType
 }
 directives {
 name
 description
 locations
 args {
 ...InputValue
 }
 }
 }
}
fragment FullType on __Type {
 ...
}
fragment InputValue on __InputValue {
 ...
}
fragment TypeRef on __Type {
 ...
}

return

{"data":{"__schema":{...}, "errors":[{"message":"field not defined.","path":["__schema","subscriptionType"]}]}

Should be without the "errors" key or with the "errors" key but without the "__schema" key
See please here and here
Validate struct should be before execution code in app
also method max_depth should ignore this request

Sorry for my English

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /