matthewmueller / graph.ql

Faster and simpler way to create GraphQL servers
634 stars 34 forks source link

Is it possible to create one type at a time? #19

Open joonhocho opened 8 years ago

joonhocho commented 8 years ago

I currently have many types and want to incrementally convert them to graph.ql. Does graph.ql support create one type at a time?

Also, does it support interface, enum, mutation, relay node connections?

igl commented 8 years ago

You can use printschema to convert your whole schema into the gql-language and see. Unfortunately you will loose descriptions.

Everything should be supported but those relay node connections i haven't heard about.

migueloller commented 8 years ago

If you want to create a single type, check out graphql-utilities.

matthewmueller commented 8 years ago

@joonhocho it supports interface, mutation, and enum. i'm not sure about relay since i haven't used it. there's an outstanding ticket to also make the graphql instances composeable (https://github.com/matthewmueller/graph.ql/issues/21), which will help with creating one type at a time.