Skip to main content

Allow recursion within ResolveAbstractType

At a glance​

Timeline​


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.