GraphQLBundle icon indicating copy to clipboard operation
GraphQLBundle copied to clipboard

Add support for schema definition in GraphQL schema language

Open ossinkine opened this issue 6 years ago • 1 comments

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version/Branch 0.11.11

GraphQL schema document requires schema section which describe root operations. Right now these operations are specified as config parameter overblog_graphql.definitions.schema.query. I suggest to add support to describe root operations in GraphQL schema language.

schema {
  query: Query
  mutation: Mutation
}

type Query {
  hero(episode: Episode): Character
  droid(id: ID!): Droid
}

ossinkine avatar Feb 20 '19 13:02 ossinkine

hi @ossinkine this could be a nice feature indeed.

mcg-web avatar Feb 27 '19 06:02 mcg-web