@vinaybedre/graphql-flutter-codegen

0.0.8 • Public • Published

graphql-flutter-codegen

GraphQL codegen plugin for Flutter+Dart using graphql_flutter. This is in a very early stage.

How to install?

yarn add @vinaybedre/graphql-flutter-codegen

How to use?

This plugin can be used along with graphql-code-generator

Example codegen-config.yml

overwrite: true
schema: "./schemas/**/*.graphqls"
documents: "./documents/**/*.graphql"
generates:
  ./graphql_flutter_documents.dart:
    plugins:
      - "@vinaybedre/graphql-flutter-codegen"

This shall output a dart file like this

Example project

Find a working example project at example

/@vinaybedre/graphql-flutter-codegen/

    Package Sidebar

    Install

    npm i @vinaybedre/graphql-flutter-codegen

    Weekly Downloads

    2

    Version

    0.0.8

    License

    ISC

    Unpacked Size

    148 kB

    Total Files

    21

    Last publish

    Collaborators

    • vinaybedre