Skip to content

[2020-10-01] Add validation rule to forbid introspection fields in the root of a GraphQL subscription #548

Closed
@benjie

Description

@benjie

__typename at the root of a subscription operation throws an error. It doesn't make sense to support it. It was agreed that since it already doesn't work, adding an explicit validation rule to forbid it would make sense and be "non-breaking".

Original PR here: graphql/graphql-spec#776

TODO:


Note: Action Item issues are reviewed and closed during Working Group
meetings.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions