Skip to content

n1ru4l/graphql-codegen-relay-plugins

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

Demonstration on how to use some of the benefits of relay with react-apollo (or any graphql framework) by using the relay-compiler as a graphql-codegen plugin to transform/optimize queries.

Benefits:

  • More optimized Queries
  • Use Relay Features With Apollo
    • Fragment Arguments
    • Data Masking

Read the introduction and setup guide over here: Optimizing your Apollo Client Operations with GraphQL Code Generator and the Relay Compiler

Checkout the example app here: todo-app-example

Packages CircleCI

@n1ru4l/graphql-codegen-relay-optimizer-plugin

Use the relay-compiler foro ptimizing your GraphQL Queries.

todo-app-example

Example usage of the packages/graphql-codegen-relay-optimizer-plugin plugin.

TODO

About

Use the power of the relay-compiler with every GraphQL project!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •