You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[comment]: # (This file is automatically generated. Do not edit it directly. Instead, edit the Joi schema in ./plugin/src/steps/declare-plugin-options-schema.js)
@@ -162,14 +167,28 @@ async function generateMdFileFromSchemaDescription(description) {
`When a GraphQL error is returned and the process exits, this plugin option determines wether or not to log out the query vars that were used in the query that returned GraphQL errors.`
161
+
`When a GraphQL error is returned and the process exits, this plugin option determines whether or not to log out the query vars that were used in the query that returned GraphQL errors.`
`Determines wether or not to panic when any GraphQL error is returned.
203
+
`Determines whether or not to panic when any GraphQL error is returned.
202
204
203
205
Default is false because sometimes non-critical errors are returned alongside valid data.`
204
206
)
@@ -214,7 +216,7 @@ Default is false because sometimes non-critical errors are returned alongside va
214
216
onlyReportCriticalErrors: Joi.boolean()
215
217
.default(true)
216
218
.description(
217
-
`Determines wether or not to log non-critical errors. A non-critical error is any error which is returned alongside valid data. In previous versions of WPGraphQL this was very noisy because trying to access an entity that was private returned errors.`
219
+
`Determines whether or not to log non-critical errors. A non-critical error is any error which is returned alongside valid data. In previous versions of WPGraphQL this was very noisy because trying to access an entity that was private returned errors.`
218
220
)
219
221
.meta({
220
222
example: wrapOptions(`
@@ -828,7 +830,7 @@ This should be the full url of your GraphQL endpoint.`
828
830
}),
829
831
useIf: Joi.any()
830
832
.description(
831
-
`A function used to determine wether or not to apply this plugin options preset. It should return a boolean value. True will cause the preset to apply, false will disclude it.`
833
+
`A function used to determine whether or not to apply this plugin options preset. It should return a boolean value. True will cause the preset to apply, false will disclude it.`
832
834
)
833
835
.default(`() => false`)
834
836
.meta({
@@ -900,3 +902,7 @@ This should be the full url of your GraphQL endpoint.`
0 commit comments