UNPKG

@graphql-codegen/flutter-freezed

Version:

GraphQL Code Generator plugin to generate Freezed models from your GraphQL schema

40 lines (26 loc) 1.48 kB
# flutter-freezed Boost 🚀 your development of Dart/Flutter apps using a GraphQL API by generating models directly from your GraphQL Schema. Currently, this plugin only generates [Freezed](https://pub.dev/packages/freezed) models, but work is ongoing to make it way easier to work with GraphQL by scaffolding an entire GraphQL client with support for Queries, Mutations and Subscriptions taking huge inspiration from [KitQL](https://www.kitql.dev/) ## TL;DR The `flutter-freezed` plugin generates [Freezed](https://pub.dev/packages/freezed) models from a GraphQL Schema. ## Getting Started Head over to the [getting started guide](https://the-guild.dev/graphql/codegen/docs/guides/flutter-freezed#getting-started) to learn how to get started using this plugin in your Dart/Flutter projects. For more advanced configuration, please refer to the [plugin documentation](https://the-guild.dev/graphql/codegen/plugins/dart/flutter-freezed). ## Issues Found a bug, confused about something, got a suggestion? Please [create a new issue](https://github.com/dotansimha/graphql-code-generator-community/issues/new/choose), and tag/mention me `@Parables` in the issue so that I can address the issue as soon as possible. ## PRs are welcomed This started as a plugin, but eventually we hope to make it way easier to use GraphQL in your Flutter apps. This plugin is found in the [graphql-code-generator-community](https://github.com/dotansimha/graphql-code-generator-community)