Use schema-ast plugin#307
Conversation
|
| } | ||
|
|
||
| if (mergeSchema === true) { | ||
| return { path: 'schema.generated.graphql', config: {} }; |
There was a problem hiding this comment.
The default schema.generated.graphql can be picked up by the majority of schema setup.
**/*.graphql is a common pattern which will pick up both the generated version and the unmerged version 🤔
There was a problem hiding this comment.
Changed the default to schema.generated.gql to avoid this issue
… by common config
e2f52af to
b84ad7f
Compare
* Handle Enum resolvers (#293) * Add logic to handle Enum types: wireup, mapper, resolverGeneration * Add e2e test for Enum mappers in auto-wireup test * Fix the need to alwasy having to add enum mapper when generating enum resolver files * Rebase tests to have default enum values * Add changeset * Fix unit tests * Ensure enums with mapper types are always generated to avoid runtime issues * Set up test for enum with mappers must have file generation * Update test snapshot * Ensure all allowed enums are generated to avoid runtime error (#296) * Add functionality to ensure all allowed fields are generated * Add changeset * Fix unit test * Update changeset * Fix validatePresetConfig tests * Use typescript resolvers meta to support `namingConvention` for generated types of GraphQL definitions (#301) * Use meta from generated types for resolver type names * Update e2e tests * Add changeset * Fix lint/unit test * Update e2e tests for namingConvention to capture all possible types * Add FIXME to update meta * Fix lint * Fix typo (#303) * Fix typo * Update baseline tests * Use meta for accurate resolvers map type (#304) * Temporarily use alpha version to test * Use resolversType from meta * Baseline test with typesPrefix for more coverage * Add changeset * Bump to latest version * Use schema-ast plugin (#307)
No description provided.