We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b45debc commit b8c2072Copy full SHA for b8c2072
packages/gatsby-source-graphql/src/gatsby-node.js
@@ -27,6 +27,19 @@ exports.pluginOptionsSchema = ({ Joi }) =>
27
createSchema: Joi.function(),
28
batch: Joi.boolean(),
29
transformSchema: Joi.function(),
30
+ dataLoaderOptions: Joi.object({
31
+ batch: Joi.boolean(),
32
+ maxBatchSize: Joi.number(),
33
+ batchScheduleFn: Joi.function(),
34
+ cache: Joi.boolean(),
35
+ cacheKeyFn: Joi.function(),
36
+ cacheMap: Joi.object({
37
+ get: Joi.function(),
38
+ set: Joi.function(),
39
+ delete: Joi.function(),
40
+ clear: Joi.function(),
41
+ }),
42
43
}).or(`url`, `createLink`)
44
45
exports.createSchemaCustomization = async (
0 commit comments