Skip to content

Commit 9649f33

Browse files
authored
Don't recommend --no-ignore-indexes
1 parent f29c8fd commit 9649f33

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/pages/postgraphile/usage-cli.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,13 @@ We recommend you install the `@graphile-contrib/pg-simplify-inflector` plugin.
3838

3939
#### For Development
4040

41-
**NOTE**: if something you're expecting to see doesn't appear, try removing
42-
`--no-ignore-indexes` and/or `--no-ignore-rbac`, this should give you a hint as
43-
to what you need to fix in your database (you should only expose fields through
44-
GraphQL that are inexpensive for users to use).
45-
4641
```bash
4742
postgraphile \
4843
--subscriptions \
4944
--watch \
5045
--dynamic-json \
5146
--no-setof-functions-contain-nulls \
5247
--no-ignore-rbac \
53-
--no-ignore-indexes \
5448
--show-error-stack=json \
5549
--extended-errors hint,detail,errcode \
5650
--append-plugins @graphile-contrib/pg-simplify-inflector \
@@ -73,7 +67,6 @@ postgraphile \
7367
--dynamic-json \
7468
--no-setof-functions-contain-nulls \
7569
--no-ignore-rbac \
76-
--no-ignore-indexes \
7770
--extended-errors errcode \
7871
--append-plugins @graphile-contrib/pg-simplify-inflector \
7972
--disable-graphiql \
@@ -136,7 +129,7 @@ from
136129
* `--no-ignore-rbac`
137130
[RECOMMENDED] set this to exclude fields, queries and mutations that are not available to any possible user (determined from the user in connection string and any role they can become); this will be enabled by default in v5
138131
* `--no-ignore-indexes`
139-
[RECOMMENDED] set this to exclude filters, orderBy, and relations that would be expensive to access due to missing indexes
132+
set this to exclude filters, orderBy, and relations that would be expensive to access due to missing indexes
140133
* `--include-extension-resources`
141134
by default, tables and functions that come from extensions are excluded; use this flag to include them (not recommended)
142135
* `--show-error-stack [json|string]`

0 commit comments

Comments
 (0)