Closed LastDragon-ru closed 4 months ago
Describe the bug
The resulting directives for Scalar
Scalar
scalar Scalar @scalar(class: "GraphQL\\Type\\Definition\\StringType") @directive(location: "scalar") extend scalar Scalar @directive(location: "extend")
will be
scalar Scalar @scalar(class: "GraphQL\\Type\\Definition\\StringType") @directive(location: "scalar")
Meanwhile the graphql-php gives both (as it should be):
scalar Scalar @scalar(class: "GraphQL\\Type\\Definition\\StringType") @directive( location: "scalar" ) @directive( location: "extend" )
Expected behavior/Solution
Scalar should have all directives from extension nodes.
Steps to reproduce
extend scalar X @directive
Lighthouse Version
v6.33.0
Describe the bug
The resulting directives for
Scalar
will be
Meanwhile the graphql-php gives both (as it should be):
Expected behavior/Solution
Scalar
should have all directives from extension nodes.Steps to reproduce
extend scalar X @directive
Lighthouse Version
v6.33.0