-
Notifications
You must be signed in to change notification settings - Fork 61
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
Field Merging[2/x] Compute MergedSelections w/MergingStrategy #307
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @AnthonyMDev and the rest of your teammates on Graphite |
73b01cd
to
c4eae7f
Compare
eec8762
to
f9cdce4
Compare
c4eae7f
to
fcc173f
Compare
f9cdce4
to
88084be
Compare
fcc173f
to
09edc8e
Compare
@AnthonyMDev I ran this branch without field merging and I'm still seeing merged fields. I reproduced it on a sample project for easy review https://github.com/tahirmt/apollo-codegen-demo. Maybe I missed something but I think I got everything set up correctly. Here And here is the generated query still showing merged fields Let me know if I missed anything |
I made a very silly oversight yesterday. While the field merging strategies work properly, they are not actually affecting the generated templates yet. I'm going to get that sorted out today and will have another PR up with this working soon! |
Ah no worries. I was just too excited to try out. |
09edc8e
to
561c9c4
Compare
88084be
to
5748c50
Compare
561c9c4
to
70ea639
Compare
70ea639
to
36dc2e6
Compare
…tringly typed Codable usage for JSON encoding
5748c50
to
86fec35
Compare
36dc2e6
to
1252393
Compare
3cbbd5e
to
41f58c4
Compare
Closing. This is replaced by #431 |
TL;DR
Updated the logic for merging selections in ComputedSelectionSet.
What changed?
How to test?
Unit tests will be written before this PR is marked ready for review.
Why make this change?
To improve the handling of merged selections in ComputedSelectionSet based on different merging strategies.