muuki88 / sbt-graphql

SBT plugin to generate and validate graphql schemas written with Sangria
Apache License 2.0
96 stars 20 forks source link

Allow loading schema from either *.graphql or *.json #63

Closed NicolasRouquette closed 5 years ago

NicolasRouquette commented 5 years ago

GraphQLSchemaLoader.fromFile currently parses a file according to the graphql schema definition language syntax.

It would help to load graphql schema definition serialized in json -- e.g., like the github schema; see: https://developer.github.com/v4/guides/intro-to-graphql/#discovering-the-graphql-api