-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
mergeSchema - fragments don't query fields added during merge #605
Comments
Looks like the root issue of this one: prisma-labs/graphql-prisma-typescript#91 |
It can't really work this way atm. It's kinda a chicken and egg problem. |
You could also just use |
@freiksenet thanks! I will keep an eye on the merge |
During resolve, if the fragment includes fields added/extended during the merge are not queried for.
here is a simple example forked from the Doc's Example
LaunchPad Example
the basic idea is now type
User
also has a new fieldchripCount
which infers its value for the extended fieldchirps
by doing:this field will always resolve to be 'null'. Looks like the
chrips
field never got resolvedThe text was updated successfully, but these errors were encountered: