Allow recursion within ResolveAbstractType
At a glance​
- Identifier: #960
- Stage: RFCX: Closed 2024-11-04T18:03:17Z
- Champion: @yaacovCR
- PR: Allow recursion within ResolveAbstractType
Timeline​
- Added to 2022-07-07 WG agenda
- Mentioned in 2022-07-07 WG notes
- Spec PR created on 2022-06-10 by yaacovCR
- 2 commits pushed on 2022-06-10:
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.