Escape-Technologies / graphman

Quikly scaffold a postman collection for a GraphQL API. Compatible with Postman & Insomnia.
MIT License
240 stars 12 forks source link

Feat/interface and union types support #49

Closed nohehf closed 1 year ago

nohehf commented 1 year ago

Description

Fixes #44 and #47

Adds support for UNION and INTERFACE types. INTERFACE is treated as an OBJECT. UNION support remains basic, it will not prefill the union with subtypes but is now accepted by the parser and present in the output as a commented type. Better support could be done, but my bandwidth on this project is too thin now, and UNIONS don't seem to be used a lot.

Checklist: