fix: readme with new env var for type gen (#1288)

This commit is contained in:
botond 2022-09-08 11:07:08 +01:00 committed by GitHub
parent 621feada26
commit dc59859964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ Run `nx serve my-app` for a dev server. Navigate to the port specified in `app/<
In order to generate the schemas for your GraphQL queries, you can run `GRAPHQL_SCHEMA_PATH=[YOUR SCHEMA FILE / API URL HERE] nx run types:generate`. In order to generate the schemas for your GraphQL queries, you can run `GRAPHQL_SCHEMA_PATH=[YOUR SCHEMA FILE / API URL HERE] nx run types:generate`.
```bash ```bash
export NX_VEGA_URL=https://api.n11.testnet.vega.xyz/graphql export GRAPHQL_SCHEMA_PATH=https://api.n11.testnet.vega.xyz/graphql
yarn nx run types:generate yarn nx run types:generate
``` ```