Skip to content

Commit afa254a

Browse files
authored
replace customScalars with customScalarTypes
1 parent 2d5a995 commit afa254a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage_with_relay.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Modify your `relay.config.js` file to reflect the following:
2020
nodeInterfaceIdField: 'nodeId',
2121
nodeInterfaceIdVariableName: 'nodeId',
2222
},
23-
customScalars: {
23+
customScalarTypes: {
2424
UUID: 'string',
2525
Datetime: 'string',
2626
JSON: 'string',
@@ -32,7 +32,7 @@ Modify your `relay.config.js` file to reflect the following:
3232
```
3333

3434
- `schemaConfig` tells the Relay compiler where to find the `nodeId` field on the `node` interface
35-
- `customScalars` will improve Relay's type emission
35+
- `customScalarTypes` will improve Relay's type emission
3636

3737
### Configuring your Relay Environment
3838

0 commit comments

Comments
 (0)