graphql_gen_generator 0.1.3
graphql_gen_generator: ^0.1.3 copied to clipboard
build_runner generator for graphql_gen: generates GraphQL field enums for classes annotated with @GenerateEnumFields.
0.1.3 #
- Network and file errors print a one-line
error:message instead of a stack trace. - Supports
build5.x (constraint widened to>=4.0.3 <6.0.0).
0.1.2 #
- Field enums without nested fields no longer declare an unused
nestedFieldsconstructor parameter (unused_element_parameter). - The barrel no longer exports the enum converters; models import them
directly, so a barrel re-exported from
models_importcauses nounnecessary_import. - Argument builders import the models only when an argument needs them.
Run sync --regenerate and build_runner build to pick up the changes.
0.1.1 #
- Generated field enums no longer trigger
prefer_initializing_formals. - Enum files with non-lowerCamelCase values ignore
constant_identifier_names. - README: exclude generated files from analysis.
Run sync --regenerate and build_runner build to pick up the changes.
0.1.0 #
- Initial release.
graphql_gen_generatorCLI withinit,fetchandsync(--fetch,--dry-run,--regenerate).- Schema parsing with
package:gql: interfaces, unions, type extensions, descriptions, multi-line arguments,@deprecated. - Schema download as SDL or through introspection, with headers from the environment.
- Freezed models, enums, enum converters, operation names, typed argument
builders and a barrel, configured in
graphql_gen.yaml. enum_fieldsbuild_runner builder for@GenerateEnumFields().