File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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,11 @@ 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
36+
37+ !!! note
38+
39+ For Relay versions older than v16.2.0, it should be named `customScalars` instead.
3640
3741### Configuring your Relay Environment
3842
You can’t perform that action at this time.
0 commit comments