Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfaces implementing other interfaces loose implements clause when --includeDirectives option set #50

Closed
thillm-amazon opened this issue Apr 3, 2024 · 1 comment

Comments

@thillm-amazon
Copy link
Contributor

The GraphQL spec supports interfaces implementing other interfaces:
graphql/graphql-spec#373

When using graphql-schema-utilities with the --includeDirectives flag set, the implements ... clause is removed from Interfaces in the merged schema.

Example

Input Schema

interface Node {
  id: ID!
}

interface FooNode implements Node {
  id: ID!
  foo: String
}

Output Schema from graphql-schema-utilities with the --includeDirectives flag set

interface Node {
  id: ID!
}

interface FooNode {
  id: ID!
  foo: String
}
@thillm-amazon
Copy link
Contributor Author

Fixed by #51

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

No branches or pull requests

1 participant