retrofit_graphql 2.1.2 copy "retrofit_graphql: ^2.1.2" to clipboard
retrofit_graphql: ^2.1.2 copied to clipboard

retrofit_graphql or Retrofit GraphQL for Dart is a powerful code generation tool that simplifies working with GraphQL in Dart projects. This tool automates the generation of Dart classes for types, en [...]

1.0.0+1 - 2023-08-14 #

  • Initial Release.

1.1.0 - 2023-09-19 #

  • All generated data classes have explicitToJson: true

1.1.1 - 2023-10-19 #

  • Updates readme file

2.0.0 - 2024-06-03 #

  • Adds _all_fields to target all fields (without class name)
  • Detects cycles in depencies when generating all fields fragements
  • You can use the package as a dev depency instead of a dependecy
  • Generates more meaningful class names when a all fields projection is used in queries/mutations.

2.0.1 - 2024-06-04 #

  • Fixes _all_fields to target all fields (without class name)

2.0.2 - 2024-06-04 #

  • Fixes generated code when _all_fields is used.

2.0.3 - 2024-06-11 #

  • Optimizes code generation.
  • Generates code much faster.

2.1.0 - 2025-05-14 #

  • Generate constructor without required for nullable arguments

    Note: #

    if you need to keep generating required nullable fields you need to pass nullableFieldsRequired: true on your build.yaml

2.1.1 - 2025-05-14 #

- Updates project dependcy versions

2.1.2 - 2025-05-14 #

- Adds project links on generated files
2
likes
0
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

retrofit_graphql or Retrofit GraphQL for Dart is a powerful code generation tool that simplifies working with GraphQL in Dart projects. This tool automates the generation of Dart classes for types, enums, inputs. Additionally, it creates a GraphQL client for streamlined query, mutation and subscription execution. The code generator can also be configured to generate fragments that simplify attribute access.​

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build, glob, logger, petitparser, source_gen

More

Packages that depend on retrofit_graphql