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
Copy file name to clipboardExpand all lines: _includes/graphql/customisation.md
+16
Original file line number
Diff line number
Diff line change
@@ -288,6 +288,22 @@ You can optionally override the default generated mutation names with aliases:
288
288
}
289
289
```
290
290
291
+
### Remove Configuration
292
+
293
+
Deploying a custom configuration via `setGraphQLConfig` persists the changes into the database. As a result, simply deleting a configuration change and deploying again does not result in a default Parse GraphQL configuration. The configuration changes remain.
294
+
295
+
To remove a configuration, set the affected properties to `null` or `undefined` before deploying. The default Parse GraphQL configuration for those properties will be restored.
296
+
297
+
```js
298
+
{
299
+
"enabledForClasses":undefined,
300
+
"disabledForClasses":undefined,
301
+
"classConfigs":undefined,
302
+
}
303
+
```
304
+
305
+
Once a default configuration is restored, you can safely remove any unused configuration changes from your `parseGraphQLServer` setup.
306
+
291
307
## Cloud Code Resolvers
292
308
293
309
The Parse GraphQL API supports the use of custom user-defined schema. The [Adding Custom Schema](#adding-custom-schema) section explains how to get started using this feature.
0 commit comments