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
// exposed for all included classes. Use this to disable
74
-
// the available mutation types for this class and optionally
74
+
// the available mutation types for this class and optionally
75
75
// override the default generated name with aliases.
76
76
mutation?: {
77
77
create?:boolean;
@@ -99,7 +99,7 @@ We have provided a public API in `ParseGraphQLServer` which accepts the above JS
99
99
// ... ParseGraphQLConfiguration
100
100
};
101
101
102
-
awaitparseGraphQLServer.setGraphQLConfig(config);
102
+
awaitparseGraphQLServer.setGraphQLConfig(config);
103
103
```
104
104
105
105
### Include or Exclude Classes
@@ -194,7 +194,7 @@ In the following example, we set the fields `name` and `age` as the only two tha
194
194
}
195
195
```
196
196
197
-
### Queries
197
+
<h3id="queries-config">Queries</h3>
198
198
199
199
By default, the schema exposes a `get` and `find` operation for each class, for example, `get_User` and `find_User`. You can disable either of these for any class in your schema, like so:
200
200
@@ -207,14 +207,14 @@ By default, the schema exposes a `get` and `find` operation for each class, for
207
207
"query": {
208
208
"get":true,
209
209
"find":false
210
-
}
210
+
}
211
211
},
212
212
{
213
213
"className":"Review",
214
214
"query": {
215
215
"get":false,
216
216
"find":true
217
-
}
217
+
}
218
218
}
219
219
]
220
220
}
@@ -229,19 +229,19 @@ By default, generated query names use pluralized version of `className`. You can
229
229
"className":"Likes",
230
230
"query": {
231
231
"getAlias":"like"
232
-
}
232
+
}
233
233
},
234
234
{
235
235
"className":"Data",
236
236
"query": {
237
237
"findAlias":"findData"
238
-
}
238
+
}
239
239
}
240
240
]
241
241
}
242
242
243
243
```
244
-
### Mutations
244
+
<h3id="mutations-config">Mutations</h3>
245
245
246
246
By default, the schema exposes a `create`, `update` and `delete` operation for each class, for example, `create_User`, `update_User` and `delete_User`. You can disable any of these mutations for any class in your schema, like so:
247
247
@@ -255,15 +255,15 @@ By default, the schema exposes a `create`, `update` and `delete` operation for e
255
255
"create":true,
256
256
"update":true,
257
257
"destroy":true
258
-
}
258
+
}
259
259
},
260
260
{
261
261
"className":"Review",
262
262
"mutation": {
263
263
"create":true,
264
264
"update":false,
265
265
"destroy":true
266
-
}
266
+
}
267
267
}
268
268
]
269
269
}
@@ -282,7 +282,7 @@ You can optionally override the default generated mutation names with aliases:
0 commit comments