Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 898 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 898 Bytes

Core idea: Fetcher

Fetcher is the core concept of this framework. For each ObjectType in GraphQL, a Fetcher will be generated, including Query and Muation

If the target directory configured in the code generator is"src/__generated",Then all fetchers are located at "src/__generated/fetchers"

There are three ways to use this framework

  1. Standalone use
  2. Use with @apollo/client
  3. Use with relay

In order to simplify the documentation, except for a few chapters, fetcher related documents are explained in an Standalone usage.

  1. Basic Usage
  2. Default Fetcher
  3. Variables
  4. Fragment and Polymorphic Query
  5. Alias
  6. Directive

Back to parent | < Previous: Code generator | Next: Use with @apollo/client>