Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest more languge agnostic schema definition #91

Closed
serle opened this issue Jul 29, 2015 · 1 comment
Closed

Suggest more languge agnostic schema definition #91

serle opened this issue Jul 29, 2015 · 1 comment

Comments

@serle
Copy link

serle commented Jul 29, 2015

It would be nice to define the schema definition in a language agnostic way e.g. xml so that the schema could be shifted between graphQL implementations. This could also one to use more mature implementations in the meantime.

@schrockn-zz
Copy link
Contributor

@serle We are actively work on this. Indeed we actually have a working version of a type definition DSL. We haven't really shouted about it yet because we are still finalizing details and spec.

You can see the parser here https://github.com/graphql/graphql-js/blob/master/src/language/schema/parser.js and an example file here https://github.com/graphql/graphql-js/blob/master/src/language/schema/__tests__/schema-kitchen-sink.graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants