-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
cacheControl hints only propagated on root fields when using schema stitching #505
Comments
@stubailo I am interesting in helping contribute to this. I saw a lot of issues that are similar to this (a combo of directives + stitching), and I am wondering if there is any active work being done? Do we already know where the gaps exist? Thanks! 😄 |
I think I solved the reason causing this issue in PR #569. Can you confirm that recreating |
@BassT I'll test it using your PR and report back. |
I just tested locally on |
I realized that in |
Using
makeExecutableSchema
shows cacheControl hints on all fields, usingmergeSchemas
only shows cacheControl hints on root fields:https://launchpad.graphql.com/r9lmrp989n correctly shows (with cacheControl enabled):
Now using
mergeSchemas
instead ofmakeExecutableSchema
gives:The text was updated successfully, but these errors were encountered: