mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 14:26:08 +03:00
Fix possessive its vs contraction it's (resolving conflicts)
This commit is contained in:
commit
c0ae3ccdaf
@ -1043,7 +1043,7 @@ class ReferenceExecutor implements ExecutorImplementation
|
|||||||
if ($abstractType instanceof InterfaceType && $info->schema->getConfig()->typeLoader) {
|
if ($abstractType instanceof InterfaceType && $info->schema->getConfig()->typeLoader) {
|
||||||
Warning::warnOnce(
|
Warning::warnOnce(
|
||||||
sprintf(
|
sprintf(
|
||||||
'GraphQL Interface Type `%s` returned `null` from it`s `resolveType` function ' .
|
'GraphQL Interface Type `%s` returned `null` from its `resolveType` function ' .
|
||||||
'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
|
'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
|
||||||
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
|
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
|
||||||
' Make sure your `resolveType` always returns valid implementation or throws.',
|
' Make sure your `resolveType` always returns valid implementation or throws.',
|
||||||
|
@ -900,7 +900,7 @@ class CoroutineExecutor implements Runtime, ExecutorImplementation
|
|||||||
if ($abstractType instanceof InterfaceType && $this->schema->getConfig()->typeLoader) {
|
if ($abstractType instanceof InterfaceType && $this->schema->getConfig()->typeLoader) {
|
||||||
Warning::warnOnce(
|
Warning::warnOnce(
|
||||||
sprintf(
|
sprintf(
|
||||||
'GraphQL Interface Type `%s` returned `null` from it`s `resolveType` function ' .
|
'GraphQL Interface Type `%s` returned `null` from its `resolveType` function ' .
|
||||||
'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
|
'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
|
||||||
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
|
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
|
||||||
' Make sure your `resolveType` always returns valid implementation or throws.',
|
' Make sure your `resolveType` always returns valid implementation or throws.',
|
||||||
|
@ -154,7 +154,7 @@ class ExecutorLazySchemaTest extends TestCase
|
|||||||
self::assertInstanceOf(Error::class, $result->errors[0]->getPrevious());
|
self::assertInstanceOf(Error::class, $result->errors[0]->getPrevious());
|
||||||
|
|
||||||
self::assertEquals(
|
self::assertEquals(
|
||||||
'GraphQL Interface Type `Pet` returned `null` from it`s `resolveType` function for value: instance of ' .
|
'GraphQL Interface Type `Pet` returned `null` from its `resolveType` function for value: instance of ' .
|
||||||
'GraphQL\Tests\Executor\TestClasses\Dog. Switching to slow resolution method using `isTypeOf` of all possible ' .
|
'GraphQL\Tests\Executor\TestClasses\Dog. Switching to slow resolution method using `isTypeOf` of all possible ' .
|
||||||
'implementations. It requires full schema scan and degrades query performance significantly. ' .
|
'implementations. It requires full schema scan and degrades query performance significantly. ' .
|
||||||
'Make sure your `resolveType` always returns valid implementation or throws.',
|
'Make sure your `resolveType` always returns valid implementation or throws.',
|
||||||
|
Loading…
Reference in New Issue
Block a user