From c710ea330499b426b7f29db283aa64ef312959dc Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Tue, 29 Aug 2023 09:14:36 +0400 Subject: [PATCH] Directive description fix. --- packages/graphql/src/SearchBy/Contracts/Ignored.php | 2 +- .../src/SearchBy/Directives/DirectiveTest~full-expected.graphql | 2 +- packages/graphql/src/SearchBy/Directives/Ignored.php | 2 +- packages/graphql/src/SortBy/Contracts/Ignored.php | 2 +- .../src/SortBy/Directives/DirectiveTest~full-expected.graphql | 2 +- packages/graphql/src/SortBy/Directives/Ignored.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/graphql/src/SearchBy/Contracts/Ignored.php b/packages/graphql/src/SearchBy/Contracts/Ignored.php index 095fbb47e..6d2a5a047 100644 --- a/packages/graphql/src/SearchBy/Contracts/Ignored.php +++ b/packages/graphql/src/SearchBy/Contracts/Ignored.php @@ -3,7 +3,7 @@ namespace LastDragon_ru\LaraASP\GraphQL\SearchBy\Contracts; /** - * Marks that field/type should be excluded from search. + * Marks that field/definition should be excluded from search. */ interface Ignored { // empty diff --git a/packages/graphql/src/SearchBy/Directives/DirectiveTest~full-expected.graphql b/packages/graphql/src/SearchBy/Directives/DirectiveTest~full-expected.graphql index e78d40f67..287308964 100644 --- a/packages/graphql/src/SearchBy/Directives/DirectiveTest~full-expected.graphql +++ b/packages/graphql/src/SearchBy/Directives/DirectiveTest~full-expected.graphql @@ -6,7 +6,7 @@ on | ARGUMENT_DEFINITION """ -Marks that field should be excluded from search. +Marks that field/definition should be excluded from search. """ directive @searchByIgnored on diff --git a/packages/graphql/src/SearchBy/Directives/Ignored.php b/packages/graphql/src/SearchBy/Directives/Ignored.php index e1c810b8f..52e2757b9 100644 --- a/packages/graphql/src/SearchBy/Directives/Ignored.php +++ b/packages/graphql/src/SearchBy/Directives/Ignored.php @@ -9,7 +9,7 @@ class Ignored implements Directive, IgnoredContract { public static function definition(): string { return <<<'GRAPHQL' """ - Marks that field should be excluded from search. + Marks that field/definition should be excluded from search. """ directive @searchByIgnored on | FIELD_DEFINITION diff --git a/packages/graphql/src/SortBy/Contracts/Ignored.php b/packages/graphql/src/SortBy/Contracts/Ignored.php index 3b0b77cf1..42dc2eaad 100644 --- a/packages/graphql/src/SortBy/Contracts/Ignored.php +++ b/packages/graphql/src/SortBy/Contracts/Ignored.php @@ -3,7 +3,7 @@ namespace LastDragon_ru\LaraASP\GraphQL\SortBy\Contracts; /** - * Marks that field/type should be excluded from sort. + * Marks that field/definition should be excluded from sort. */ interface Ignored { // empty diff --git a/packages/graphql/src/SortBy/Directives/DirectiveTest~full-expected.graphql b/packages/graphql/src/SortBy/Directives/DirectiveTest~full-expected.graphql index 808bcafee..1ad4007c9 100644 --- a/packages/graphql/src/SortBy/Directives/DirectiveTest~full-expected.graphql +++ b/packages/graphql/src/SortBy/Directives/DirectiveTest~full-expected.graphql @@ -6,7 +6,7 @@ on | ARGUMENT_DEFINITION """ -Marks that field should be excluded from sort. +Marks that field/definition should be excluded from sort. """ directive @sortByIgnored on diff --git a/packages/graphql/src/SortBy/Directives/Ignored.php b/packages/graphql/src/SortBy/Directives/Ignored.php index f6359d837..0b341b1bf 100644 --- a/packages/graphql/src/SortBy/Directives/Ignored.php +++ b/packages/graphql/src/SortBy/Directives/Ignored.php @@ -9,7 +9,7 @@ class Ignored implements Directive, IgnoredContract { public static function definition(): string { return <<<'GRAPHQL' """ - Marks that field should be excluded from sort. + Marks that field/definition should be excluded from sort. """ directive @sortByIgnored on | FIELD_DEFINITION