Commit 13eb991
committed
Allow recursion within ResolveAbstractType
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: graphql/graphql-js#3253
PR: graphql/graphql-js#3599
@IvanGoncharov [suggested](graphql/graphql-js#3599 (review)) that this would require a spec change. Alternatively, perhaps the recursion [should be considered to be a feature of the internal system](graphql/graphql-js#3599 (comment)) itself, possibly limited to JavaScript-like implementations.
This PR provides some potential spec text, were a spec change to be considered necessary.1 parent 4de8782 commit 13eb991
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
727 | 732 | | |
728 | 733 | | |
729 | 734 | | |
730 | 735 | | |
731 | 736 | | |
732 | 737 | | |
733 | 738 | | |
734 | | - | |
735 | | - | |
| 739 | + | |
| 740 | + | |
736 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
737 | 746 | | |
738 | 747 | | |
739 | 748 | | |
| |||
0 commit comments