Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Schema/SchemaBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,15 @@ private static function getSchemaConfigFromSource(string $schemaKey, string $dir
Schema::invariant(
!is_file($absConfigSrc ?? ''),
'Provided source config file "%s" rather than directory on schema %s. ' .
'See https://docs.silverstripe.org/en/4/developer_guides/graphql/getting_started/configuring_your_schema/',
'See https://docs.silverstripe.org/en/developer_guides/graphql/getting_started/configuring_your_schema/',
$absConfigSrc,
$schemaKey
);

Schema::invariant(
is_dir($absConfigSrc ?? ''),
'Source config directory %s does not exist on schema %s. ' .
'See https://docs.silverstripe.org/en/4/developer_guides/graphql/getting_started/configuring_your_schema/',
'See https://docs.silverstripe.org/en/developer_guides/graphql/getting_started/configuring_your_schema/',
$absConfigSrc,
$schemaKey
);
Expand Down