-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix(core): Fix undefined type issue with nested fragment spreads #3351
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
This is very good, thanks for the fix! Please just target the |
b53d670
to
44aa240
Compare
44aa240
to
4a093e4
Compare
Thank you. I changed the target to master 👍 |
|
Description
This pull request addresses a bug where GraphQL types in the TypeTree were becoming undefined when using nested fragment spreads. The issue stemmed from the way fragment children were being merged within the
getTypeNodeByPath
function. It was performing a shallow merge, failing to properly incorporate type information from nested fragments. Relates to #3337.Checklist
📌 Always:
👍 Most of the time: