Skip to content

Commit

Permalink
clarify when validationRules are applied
Browse files Browse the repository at this point in the history
  • Loading branch information
helfer committed Jul 3, 2016
1 parent 729c503 commit c866e4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/runQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c866e4b

Please sign in to comment.