-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix auto gernerator of directive with arguments with list of value
- Loading branch information
Showing
4 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/Generator/TypeRegistry/resources/SumVariantsDirective.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare (strict_types=1); | ||
namespace Axtiva\FlexibleGraphql\Example\GraphQL\Directive; | ||
|
||
use GraphQL\Type\Definition\ResolveInfo; | ||
use Axtiva\FlexibleGraphql\Resolver\DirectiveResolverInterface; | ||
|
||
/** | ||
* This code is @generated by axtiva/flexible-graphql-php | ||
* Resolver for executable directive @sum | ||
* CAPITALIZE ALL LETTERS IN STRING | ||
*/ | ||
final class SumVariantsDirective implements DirectiveResolverInterface | ||
{ | ||
function __invoke(callable $next, $directiveArgs, $rootValue, $args, $context, ResolveInfo $info) | ||
{} | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/Generator/TypeRegistry/resources/SumVariantsDirectiveArgs.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
declare (strict_types=1); | ||
namespace Axtiva\FlexibleGraphql\Example\GraphQL\DirectiveArgs; | ||
|
||
|
||
final class SumVariantsDirectiveArgs | ||
{ | ||
} |