graphql-spec icon indicating copy to clipboard operation
graphql-spec copied to clipboard

RFC Allow recursion within ResolveAbstractType

Open yaacovCR opened this issue 2 years ago • 1 comments

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.

yaacovCR avatar Jun 10 '22 07:06 yaacovCR

Deploy Preview for graphql-spec-draft ready!

Name Link
Latest commit 1f434ade9161b1aa74616daa40ea4ef122dcfd74
Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/62a2ffab4680f800083ac9e3
Deploy Preview https://deploy-preview-960--graphql-spec-draft.netlify.app/draft
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 10 '22 07:06 netlify[bot]