mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
clarify when validationRules are applied
This commit is contained in:
parent
8a99ed6f33
commit
782cb20864
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ export interface QueryOptions {
|
|||
operationName?: string;
|
||||
logFunction?: Function;
|
||||
validationRules?: Array<ValidationRule>;
|
||||
// WARNING: these extra validation rules are only applied to queries
|
||||
// submitted as string, not those submitted as Document!
|
||||
|
||||
formatError?: Function;
|
||||
formatResponse?: Function;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue