Skip to content

Commit

Permalink
add readme mention
Browse files Browse the repository at this point in the history
  • Loading branch information
villesau committed Feb 15, 2022
1 parent 45c01df commit af67746
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ yarn graphql-let init
Next, add
[graphql-codegen plugins](https://graphql-code-generator.com/docs/plugins/index)
in it. **Please note that you have to generate a TypeScript source** by the
plugins.
plugins. schemaPlugins are used on plugins that generates types from the schema and the result ends up into `__types__`.

Edit it like this:

Expand All @@ -187,6 +187,8 @@ Edit it like this:
plugins:
+ - typescript-operations
+ - typescript-react-apollo
+ schemaPlugins:
+ - typescript-urql-graphcache
```

### 3. Check your `cacheDir`
Expand Down

0 comments on commit af67746

Please sign in to comment.