Shapeshifter supports reading from GraphQL (
.gql) type files -- if you prefer GraphQL over
model, only a small subset of Shapeshifter functionality is available.
When defining a GraphQL schematic, multiple definitions (
union, etc) can exist in
a single schematic, with the last
type definition being used as the schematic representation. All
prior definitions will be used as internal shapes, references, enums, and unions.
For more guidance, take a look at our test cases.
Introspection support being looked into!