AEB-labs / graphql-weaver

A tool to combine, link and transform GraphQL schemas
MIT License
240 stars 20 forks source link

Woven Schemas lose their astNodes #25

Open nyteshade opened 6 years ago

nyteshade commented 6 years ago

When building a schema from SDL or any other source, the astNodes are present. The schema that is returned does not seem to have this field specified. Is there any way to preserve this info if it is present already?

Yogu commented 6 years ago

Thanks for your bug report! It seems like the astNodes are lost in some places, at least for object types. I'll look into it in the next days.

nyteshade commented 6 years ago

Hmm, this seems to happen even with the most basic of schemas. Even if schema A and schema B are incredibly basic, local and neither are linked, the issue will occur.