Skip to content

[In Alpha] Generates client code to be used in flutter apps along with graphql_flutter dart package

Notifications You must be signed in to change notification settings

vinaybedre/graphql-flutter-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[In Alpha] Generates client code to be used in flutter apps along with graphql_flutter dart package

Topics

Resources

Stars

Watchers

Forks