Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing introspection fields and fix isPromise prisma compatiblility #1584

Conversation

hayes
Copy link
Contributor

@hayes hayes commented Mar 10, 2022

Fixes #1578, #1579

The isPromise fix is related to prisma/prisma#12252.

It should probably be fixed in both places. Since prisma promises seem to work correctly with most other libraries (graphql-js, or just native await) making it work here too is probably correct, even though not correctly handling an in operation is kinda weird.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 10, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@hayes hayes force-pushed the mh--update-introspection-and-fix-isPromise branch 2 times, most recently from c606f3a to 6cdbc6d Compare March 11, 2022 01:13
@hayes hayes force-pushed the mh--update-introspection-and-fix-isPromise branch from 6cdbc6d to 1c03bd8 Compare March 11, 2022 01:14
Copy link
Contributor

@benweatherman benweatherman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merci

Thank you for this excellent contribution! The code is great, though it would be ideal if we could create a separate PR for the promise check vs the introspection change. Any chance you'd be willing to do that? I hate to ask you to do extra work, but I've done it anyway 😸

CONTRIBUTING.md Show resolved Hide resolved
subgraph-js/src/types.ts Show resolved Hide resolved
@netlify
Copy link

netlify bot commented Mar 31, 2022

👷 Deploy request for apollo-federation-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 4c84dd4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some introspection fields are missing
2 participants