Skip to content

Commit

Permalink
Directive description fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Aug 29, 2023
1 parent 62e9110 commit c710ea3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/graphql/src/SearchBy/Contracts/Ignored.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/src/SearchBy/Directives/Ignored.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/src/SortBy/Contracts/Ignored.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/src/SortBy/Directives/Ignored.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c710ea3

Please sign in to comment.