...

Text file src/github.com/vektah/gqlparser/validator/spec/NonExistantTypes.spec.yml

Documentation: github.com/vektah/gqlparser/validator/spec

     1- name: Undefined type assertions
     2  schema: 0
     3  query: |
     4    query panic{
     5      panic{
     6        ...PanicInput
     7        __typename
     8      }
     9    }
    10    fragment PanicInput on Panic {
    11      __typename
    12    }
    13
    14  errors:
    15    - message: Unknown type "Panic". Did you mean "Canine"?
    16      locations:
    17      - {line: 7, column: 7}
    18    - message: Cannot query field "panic" on type "QueryRoot".
    19      locations:
    20      - {line: 2, column: 14}

View as plain text