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

Field Merging [3/x] Implement in SelectionSetTemplate #318

Conversation

AnthonyMDev
Copy link
Contributor

@AnthonyMDev AnthonyMDev commented Mar 26, 2024

This PR updates the SelectionSetTemplate to handle different field merging strategies specified in the configuration options. It also refactors the rendering logic to consider merged fields when generating property accessors, fragment accessors, and selection set initializers. This change ensures that the template can handle merged fields appropriately based on the specified merging strategy.

@AnthonyMDev AnthonyMDev marked this pull request as ready for review March 26, 2024 23:19
@AnthonyMDev AnthonyMDev force-pushed the 03-21-field_merging_2_x_compute_mergedselections_w_mergingstrategy branch from 561c9c4 to 70ea639 Compare April 24, 2024 19:28
@AnthonyMDev AnthonyMDev force-pushed the Implement_FieldMerging_in_SelectionSetTemplate branch from d8205b4 to 524a720 Compare April 24, 2024 19:28
@AnthonyMDev AnthonyMDev changed the title Implement FieldMerging in SelectionSetTemplate Field Merging [3/x] Implement in SelectionSetTemplate Apr 24, 2024
@AnthonyMDev AnthonyMDev force-pushed the 03-21-field_merging_2_x_compute_mergedselections_w_mergingstrategy branch from 70ea639 to 36dc2e6 Compare May 1, 2024 01:09
@AnthonyMDev AnthonyMDev force-pushed the Implement_FieldMerging_in_SelectionSetTemplate branch from 524a720 to 5bddba3 Compare May 1, 2024 01:09
@AnthonyMDev AnthonyMDev force-pushed the 03-21-field_merging_2_x_compute_mergedselections_w_mergingstrategy branch from 36dc2e6 to 1252393 Compare May 1, 2024 01:20
@AnthonyMDev AnthonyMDev force-pushed the Implement_FieldMerging_in_SelectionSetTemplate branch from 5bddba3 to 288253c Compare May 1, 2024 01:20
svc-secops and others added 14 commits May 7, 2024 17:35
…o v4.17.2

git-subtree-dir: apollo-ios
git-subtree-mainline: 9410d46
git-subtree-split: 8f26d38eccdab79c9aaa7bd5966308a58be6cbf6
8f26d38e Update ROADMAP.md
da5ff68f Update ROADMAP.md

git-subtree-dir: apollo-ios
git-subtree-split: 8f26d38eccdab79c9aaa7bd5966308a58be6cbf6
…rollup to v4.17.2

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: df4667b
git-subtree-split: de2b59cc895b6a8063acabbda00833e71295da5e
de2b59cc chore(deps): update dependency rollup to v4.17.2 (#352)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: de2b59cc895b6a8063acabbda00833e71295da5e
…input field w/default value in schema

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: ec3a037
git-subtree-split: a491080fa0d51f680fbbeaaa8bd631c1f764099f
a491080f Generate nil default value for input field w/default value in schema (#358)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: a491080fa0d51f680fbbeaaa8bd631c1f764099f
23c36434 Update ROADMAP.md

git-subtree-dir: apollo-ios
git-subtree-split: 23c3643410f46d4198b493bc97e237d7ef35e57e
git-subtree-dir: apollo-ios
git-subtree-mainline: a668ecf
git-subtree-split: 23c3643410f46d4198b493bc97e237d7ef35e57e
…eTemplate

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: fb6c29e
git-subtree-split: e26c27b1a19a77f6d599ced10a1ebb386cc5a83f
e26c27b1 Namespace ApolloAPI in InterfaceTemplate (#359)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: e26c27b1a19a77f6d599ced10a1ebb386cc5a83f
gh-action-runner and others added 16 commits July 9, 2024 17:22
git-subtree-dir: apollo-ios
git-subtree-mainline: c1bdf86
git-subtree-split: dbe53502d61cff52a1bd777fc31f04fa75bbd214
dbe53502 [README] Add dark mode logo (#420)

git-subtree-dir: apollo-ios
git-subtree-split: dbe53502d61cff52a1bd777fc31f04fa75bbd214
e89e65da [README] Add dark mode logo (#420)

git-subtree-dir: apollo-ios-pagination
git-subtree-split: e89e65da462a6994f4eef54439742a158982433a
git-subtree-dir: apollo-ios-pagination
git-subtree-mainline: 9a89224
git-subtree-split: e89e65da462a6994f4eef54439742a158982433a
9b87ee08 fix: Local cache mutation build error in Swift 6 (#417)

git-subtree-dir: apollo-ios
git-subtree-split: 9b87ee082dfefa4036ce189fdeb5e52b3f952bef
…n Swift 6

git-subtree-dir: apollo-ios
git-subtree-mainline: 3497c4a
git-subtree-split: 9b87ee082dfefa4036ce189fdeb5e52b3f952bef
fb192097 fix: Local cache mutation build error in Swift 6 (#417)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: fb1920971dea2158458bd2b1896653edbf934594
… error in Swift 6

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: 571b2ca
git-subtree-split: fb1920971dea2158458bd2b1896653edbf934594
@AnthonyMDev AnthonyMDev force-pushed the Implement_FieldMerging_in_SelectionSetTemplate branch from 288253c to 391fa0d Compare July 16, 2024 18:36
@AnthonyMDev AnthonyMDev force-pushed the Implement_FieldMerging_in_SelectionSetTemplate branch from 391fa0d to a3e3b18 Compare July 16, 2024 19:51
@AnthonyMDev
Copy link
Contributor Author

Closing. This is replaced by #431

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.

8 participants