|
// TODO: implement if necessary |
|
// // You are strongly encouraged to use |
|
// // `postgraphile:validationRules:static` if possible - you should |
|
// // only use this one if you need access to variables. |
|
// const moreValidationRules = pluginHook('postgraphile:validationRules', [], { |
|
// options, |
|
// req, |
|
// res, |
|
// variables: variableValues, |
|
// operationName: operationName, |
|
// }); |
|
// if (moreValidationRules.length) { |
|
// const moreValidationErrors = validate(schema, document, moreValidationRules); |
|
// if (moreValidationErrors.length) { |
|
// return moreValidationErrors; |
|
// } |
|
// } |