- Add a plugin that generates factories for operations
- Add default value for factories overrides
- Add support for unions
- Generate factories for the root types: Query, Mutation and Subscription
- Generate factories for operations and each of their selections
- Fix support for external fragments
- Fix support for unnamed operations
- Fix support for lists and nullable fields
- Fix fragments support by stripping them from the output
- Fix support for aliased primitive fields
- Add the
graphql-codegen-factories/operations
entry point to generate factories for operations
- Fix the factories output when the schema has directives
- Add
config.typesPath
to generate the factories in a different file than the types - Add
config.importTypesNamespace
to customize the name of the import namespace
- Upgrade dependencies and drop support for Node 10 in the process
- Add support for interfaces default value generation
- Add support for unions default value generation
- Fix default value generation for enums that contain an underscore in their name