You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that type extension information gets lost when a schema is printed and parsed. Essentially, I noticed the following issue:
constgraphql=require("graphql");schema="type Object {a : Int} extend type Object {b: Int}"console.log(graphql.printSchema(graphql.buildASTSchema(graphql.parse(schema))));// type Object {a: int}
This seems like a bug to me though I am not 100% what the expected behavior is. Please let me know what you think.
(Please pardon my poor javascript since I am primarily a python developer. I noticed the issue originally in the python port of the GraphQL library and backtracked it here).
The text was updated successfully, but these errors were encountered:
I noticed that type extension information gets lost when a schema is printed and parsed. Essentially, I noticed the following issue:
This seems like a bug to me though I am not 100% what the expected behavior is. Please let me know what you think.
(Please pardon my poor javascript since I am primarily a python developer. I noticed the issue originally in the python port of the GraphQL library and backtracked it here).
The text was updated successfully, but these errors were encountered: