RFC X / Rejected

Allow recursion within ResolveAbstractType

Opened on
Closed on

At a glance

Project
GraphQL Spec
Identifier
#960
Stage
RFC X / Rejected
Champion
@yaacovCR
Updated
2025-06-12
Latest activity
Marked as Rejected on
Source

Pull request description

This formalizes the proprosed feature within graphql-js whereby the internal method provided by JavaScript for runtime type resolution is allowed to return an intermediate interface.

See: Issue: https://github.com/graphql/graphql-js/issues/3253 PR: https://github.com/graphql/graphql-js/pull/3599

@IvanGoncharov suggested that this would require a spec change. Alternatively, perhaps the recursion should be considered to be a feature of the internal system itself, possibly limited to JavaScript-like implementations.

This PR provides some potential spec text, were a spec change to be considered necessary.

Timeline