-
-
Notifications
You must be signed in to change notification settings - Fork 457
Closed
Description
Describe the bug
The resulting directives for 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
- Create the schema with
extend scalar X @directive
- Print it
Lighthouse Version
v6.33.0
Metadata
Metadata
Assignees
Labels
No labels