Open wtrocki opened 4 years ago
So I have done some investigations and it looks like GW is not working with latest changes to graphql spec.
directive @cacheControl(maxAge:Int, scope:CacheControlScope) on
"Exposes a URL that specifies the behaviour of this scalar."
directive @specifiedBy(
"The URL that specifies the behaviour of this scalar."
url:String!
) on
that are included into the schema crashing gw.
Workaround is to get schema locally. Remove directives and use --production mode. Amazing features @chirino. Really like how we can merge multiple serverless functions into single schema
Could you post the schemas that are giving you issues?
Hey, I'd like to work on this issue. What would be a good starting point for the same?
This actually requires updating graphql library we use to official one. #41
Okay. In that case, can I start working on issue #41 now?
This happens with the latest release and master.
[wtrocki@graphapi gw ]$ /Users/wtrocki/Downloads/graphql-gw_0.2.0_mac_64bit-x86/graphql-gw serve 2020/10/13 12:38:30 downloading schema for upstream note: http://127.0.0.1:4000/graphql panic: runtime error: invalid memory address or nil pointer dereference