loading...

Need your help: Show me your GraphQL Schema

phortx profile image Benjamin Klein ・1 min read

Hello Community!

I need your help. I'm the maintainer of Vuex-ORM-GraphQL. It's a tough job to cover all those different ways to design a GraphQL Schema. You would help me a lot if you could run the introspection query below against your GraphQL API and send me the result.

This way I can analyze what different schema designs are out there and write unit tests to ensure that my plugin can handle them all :)

Disclaimer: Please make sure it's ok to send me the schema! Don't send me any secret or sensible information you may be sentenced for. However I promise to keep the stuff you send me secret and I will delete it right after analyzing it. I will not use them for any other purpose or distribute it.

Here is the introspection schema, you can run it against your API by using GraphiQL for example.

{
  __schema {
    types {
      name
      description

      fields(includeDeprecated: true) {
        name
        description
        args {
          name
          description
          type {
            name
            kind

            ofType {
              kind

              name
              ofType {
                kind
                name

                ofType {
                  kind
                  name
                }
              }
            }
          }
        }

        type {
          name
          kind

          ofType {
            kind

            name
            ofType {
              kind
              name

              ofType {
                kind
                name
              }
            }
          }
        }
      }

      inputFields {
        name
        description

        type {
          name
          kind

          ofType {
            kind

            name
            ofType {
              kind
              name

              ofType {
                kind
                name
              }
            }
          }
        }
      }
    }
  }
}

Send me the result as a private gist to bk@itws.de.

Thank you very much for your help!

Posted on by:

phortx profile

Benjamin Klein

@phortx

> Developer of the Open Source and Passion Projects. > Owner of the Habitie.net. > Photographer of the stuff. > Father of the cutest thingy ever. > Surfer of the web. > Sleeper of the naps.

Discussion

markdown guide