Skip to content

Commit

Permalink
Merge branch '4.2' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Mar 28, 2023
2 parents 76e2e69 + 13327fd commit 7ac06ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Schema/Storage/AbstractTypeRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class AbstractTypeRegistry
* the schema files themselves are missing.
*/
private static bool $rebuild_on_missing_schema_file = true;

/**
* Minimum number of seconds between rebuilding the schema if a schema file is missing.
* If set too low this may make the site vulnerable to the schema being repeatedly rebuilt
Expand Down
2 changes: 0 additions & 2 deletions tests/Schema/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1217,8 +1217,6 @@ private function createSchema(TestSchemaBuilder $factory): Schema

// Register as the default SchemaBuilder so that any calls to
// SchemaBuidler::singleton() get this TestSchemaBuilder
// This is important for the call in AbstractTypeRegisty::get() because
// otherwise a duplicate .graphql-generated folder will be created
Injector::inst()->registerService($factory, SchemaBuilder::class);

return $schema;
Expand Down

0 comments on commit 7ac06ec

Please sign in to comment.