@@ -242,19 +242,13 @@ We recommend you install the `@graphile-contrib/pg-simplify-inflector` plugin.
242
242
243
243
#### For Development
244
244
245
- ** NOTE** : if something you're expecting to see doesn't appear, try removing
246
- ` ignoreRBAC: false ` and/or ` ignoreIndexes: false ` , this should give you a hint
247
- as to what you need to fix in your database (you should only expose fields
248
- through GraphQL that are inexpensive for users to use).
249
-
250
245
``` js
251
246
const postgraphileOptions = {
252
247
subscriptions: true ,
253
248
watchPg: true ,
254
249
dynamicJson: true ,
255
250
setofFunctionsContainNulls: false ,
256
251
ignoreRBAC: false ,
257
- ignoreIndexes: false ,
258
252
showErrorStack: " json" ,
259
253
extendedErrors: [" hint" , " detail" , " errcode" ],
260
254
appendPlugins: [require (" @graphile-contrib/pg-simplify-inflector" )],
@@ -282,7 +276,6 @@ const postgraphileOptions = {
282
276
dynamicJson: true ,
283
277
setofFunctionsContainNulls: false ,
284
278
ignoreRBAC: false ,
285
- ignoreIndexes: false ,
286
279
extendedErrors: [" errcode" ],
287
280
appendPlugins: [require (" @graphile-contrib/pg-simplify-inflector" )],
288
281
graphiql: false ,
@@ -365,11 +358,10 @@ which are optional. The below options are valid for
365
358
user in connection string and any role they can become); set this option
366
359
true to skip these checks and create GraphQL fields and types for
367
360
everything. The default is ` true ` , in v5 the default will change to ` false ` .
368
- - ` ignoreIndexes ` : Set false (recommended) to exclude filters, orderBy, and
361
+ - ` ignoreIndexes ` : Set false to exclude filters, orderBy, and
369
362
relations that would be expensive to access due to missing indexes. Changing
370
- this from true to false is a breaking change, but false to true is not, so
371
- we recommend you start with it set to ` false ` . The default is ` true ` , in v5
372
- the default may change to ` false ` .
363
+ this from true to false is a breaking change, but false to true is not. The
364
+ default is ` true ` .
373
365
- ` includeExtensionResources ` : By default, tables and functions that come from
374
366
extensions are excluded from the generated GraphQL schema as general
375
367
applications don't need them to be exposed to the end user. You can use this
0 commit comments