File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
use GraphQL \Type \Schema ;
8
8
9
9
/**
10
- * Implement this interface and pass an instance to GraphQL::executeQuery to cache validation of ASTs. The details
11
- * of how to compute any keys (or whether to validate at all) are left up to you.
10
+ * Implement this interface and pass an instance to GraphQL::executeQuery to cache validation of ASTs.
11
+ * The details of how to compute any keys (or whether to validate at all) are left up to you.
12
12
*/
13
13
interface ValidationCache
14
14
{
15
15
/**
16
16
* Return true if the given schema + AST pair has previously been validated successfully.
17
- * Only successful validations are cached. A return value of false means the pair is either unknown or has not been validated yet.
17
+ * Only successful validations are cached.
18
+ * A return value of false means the pair is either unknown or has not been validated yet.
18
19
*/
19
20
public function isValidated (Schema $ schema , DocumentNode $ ast ): bool ;
20
21
You can’t perform that action at this time.
0 commit comments