Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Directive added to FIELD_DEFINITION is not being resolved #504

Open
gskierk opened this issue Nov 21, 2020 · 1 comment
Open

Directive added to FIELD_DEFINITION is not being resolved #504

gskierk opened this issue Nov 21, 2020 · 1 comment
Assignees

Comments

@gskierk
Copy link
Contributor

gskierk commented Nov 21, 2020

This kind of directive is not being resolved:

directive @fieldDirective on FIELD_DEFINITION

In GraphQL.php only directives added to FIELD are taken into account.

$directive_defs = $field_node->directives;
@marcokuoni
Copy link
Contributor

it's not bug but related. do you think its possible to create directives with this API for authorization? https://docs.amplify.aws/cli/graphql-transformer/auth/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants