nicolasdao / graphql-s2s

Add GraphQL Schema support for type inheritance, generic typing, metadata decoration. Transpile the enriched GraphQL string schema into the standard string schema understood by graphql.js and the Apollo server client.
Other
187 stars 15 forks source link

Update graphql dependency #40

Open johannordin opened 4 years ago

johannordin commented 4 years ago

Any chance you could update it? trying to use apollo@2+ but results in different versions of graphql.

Tried to update and it seems like all your tests passes.

Thanks!

nicolasdao commented 4 years ago

Hi @johannordin,

I'll try to update to the latest version of graphql, but each time I tried that in the past, I ran into the following error:

GraphQL error: Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory.

I'll try again with the latest to see if that works.

Thanks a lot for your message and for using our package.

Cheers,

Nic

johannordin commented 4 years ago

Thanks! When do you get that error? "npm ls graphql" shows what versions of graphql is installed. Let me know if I can help!