Merge branch 'master' into styling-fixes

This commit is contained in:
Kim Gardner
2017-04-12 07:23:56 -04:00
committed by GitHub
+2 -2
View File
@@ -47,8 +47,8 @@ const hookSchemas = {
pre: Joi.func(),
post: Joi.func()
}))),
loaders: Joi.object().pattern(/\w/, Joi.object().pattern(/\w/, Joi.func())),
mutators: Joi.object().pattern(/\w/, Joi.object().pattern(/\w/, Joi.func())),
loaders: Joi.func().maxArity(1),
mutators: Joi.func().maxArity(1),
resolvers: Joi.object().pattern(/\w/, Joi.object().pattern(/(?:__resolveType|\w+)/, Joi.func())),
typeDefs: Joi.string()
};