We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a745345 commit 1277bb3Copy full SHA for 1277bb3
tests/PsrValidationCacheAdapter.php
@@ -64,7 +64,7 @@ private function buildKey(Schema $schema, DocumentNode $ast): string
64
* the schema -- for example, a build-time hash, schema version number, or an environment-based identifier.
65
*/
66
$schemaHash = md5(SchemaPrinter::doPrint($schema));
67
- $astHash = md5($ast->__toString());
+ $astHash = md5(serialize($ast));
68
69
return self::KEY_PREFIX . $schemaHash . '_' . $astHash;
70
}
0 commit comments