Skip to content

Commit 08f8638

Browse files
Update README.md
1 parent fd95e60 commit 08f8638

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Now, add a client SDK key as a `STATSIG_SDK_KEY` in your `.env` file (see [`.env
1818

1919
### Add Experiment Fields to GraphQL
2020

21-
Now you can setup your experiments to be pulled through GraphQL. Follow [this changeset](https://github.com/statsig-io/contentful-blog-webapp-nextjs-example/pull/5/commits/545697b54af182fe55d93994369a2b205fe3387f) as a guide.
21+
Now you can setup your experiments to be pulled through GraphQL. Follow [this changeset](https://github.com/statsig-io/contentful-blog-webapp-nextjs-example/pull/5/commits/545697b54af182fe55d93994369a2b205fe3387f) as a guide to add a `StatsigExperimentFields` fragment, and add to your Content Type's graphql files. Then, to generate the types in graphql, run the command:
22+
23+
```yarn graphql-codegen:generate```
2224

2325
### Add Experiment to Content Types
2426

0 commit comments

Comments
 (0)