Skip to content

Commit f769319

Browse files
tim-fieldbenjie
authored andcommitted
docs(relay): make reference apply to Relay 1 and Modern (#544)
As this applies to both Relay Classic and Relay Modern.
1 parent ff029b8 commit f769319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Arguments include:
5050
- **`pgConfig`**: An object or string that will be passed to the [`pg`][] library and used to connect to a PostgreSQL backend.
5151
- **`schemaName`**: A string which specifies the PostgreSQL schema you will be serving with PostGraphQL. The default schema is the `public` schema. May be an array for multiple schemas.
5252
- **`options`**: An object containing other miscellaneous options. Options could be:
53-
- `classicIds`: Enables classic ids for Relay 1 support. Instead of using the field name `nodeId` for globally unique ids, PostGraphQL will instead use the field name `id` for its globally unique ids. This means that table `id` columns will also get renamed to `rowId`.
53+
- `classicIds`: Enables classic ids for Relay support. Instead of using the field name `nodeId` for globally unique ids, PostGraphQL will instead use the field name `id` for its globally unique ids. This means that table `id` columns will also get renamed to `rowId`.
5454
- `dynamicJson`: Setting this to `true` enables dynamic JSON which will allow you to use any JSON as input and get any arbitrary JSON as output. By default JSON types are just a JSON string.
5555
- `disableDefaultMutations`: Setting this to `true` will prevent the creation of the default mutation types & fields. Database mutation will only be possible through Postgres functions.
5656
- `graphiql`: Set this to `true` to enable the GraphiQL interface.

0 commit comments

Comments
 (0)