graphql/graphiql

Allow the schema to be displayed in IDL format

Open

#582 opened on Aug 24, 2017

View on GitHub
 (5 comments) (5 reactions) (0 assignees)TypeScript (15,473 stars) (1,785 forks)batch import
enhancementgraphiqlhelp wantedpotential plugin

Description

Today we have the documentation view of the schema rendered as HTML

It would be great to have a link that showed the IDL view of the schema or type

eg

 type Person {
      # The name of this person.
      name: String
      # The year were born
      birthYear: String
      eyeColor: String
      gender: String
      hairColor: String
      height: Int
      mass: Float
      skinColor: String
      homeworld: Planet
}

This would allow you to capture the schema in IDL format as well as given you a way to stare at the schema as a whole versus the in detail view of today

Contributor guide