sikanhe / gqtx

Code-first Typescript GraphQL Server without codegen or metaprogramming
458 stars 13 forks source link

Add description to inputObjectType, objectType, unions and interfaces #50

Closed zachasme closed 3 years ago

zachasme commented 3 years ago

I noticed some comments weren't present in our schema, this PR makes sure to pass them along for inputObjectTypes, objectTypes, unions and interfaces.

I'm not sure if you want tests along with changes, so I put a very simple one in a separate commit (that makes sure the descriptions are added to the schema) that you can just skip if you don't need it. :-)

sikanhe commented 3 years ago

thanks @zachasme