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

feature: @oneOf input object support #537

Merged
merged 16 commits into from
Dec 2, 2024
Merged

feature: @oneOf input object support #537

merged 16 commits into from
Dec 2, 2024

Conversation

BobaFetters
Copy link
Member

Adding support for @OneOf Input Objects, more info can be found in the official RFC here: graphql/graphql-spec#825

Closes apollographql/apollo-ios#3430

@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Nov 13, 2024

✅ Docs Preview Ready

No new or changed pages found.

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for apollo-ios-docc canceled.

Name Link
🔨 Latest commit c31c623
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docc/deploys/674df54d82c98400085b3fac

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for eclectic-pie-88a2ba ready!

Name Link
🔨 Latest commit c31c623
🔍 Latest deploy log https://app.netlify.com/sites/eclectic-pie-88a2ba/deploys/674df54ded9a170008bc92ae
😎 Deploy Preview https://deploy-preview-537--eclectic-pie-88a2ba.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@AnthonyMDev AnthonyMDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment, but otherwise this looks good!

Updating the SPMInXcodeProject codegen config to commit the animal kingdom package.swift and use local version of library
Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Zach, thank you!

@@ -57,7 +57,7 @@
"path" : "./AnimalKingdomAPI",
"moduleType" : {
"swiftPackageManager" : {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this one be changed to the new swiftPackage too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea might as well, not actually required since this gets decoded into the new one but worth going ahead and switching it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually looks like this one may require the change because of the need for the local path causing the ci failure

@calvincestari
Copy link
Member

Looks like there is still a CI test failure - is that CI related or more work to be done?

@BobaFetters BobaFetters merged commit faaba1b into main Dec 2, 2024
34 checks passed
@BobaFetters BobaFetters deleted the feature/oneof-3430 branch December 2, 2024 18:05
BobaFetters added a commit that referenced this pull request Dec 2, 2024
BobaFetters added a commit to apollographql/apollo-ios that referenced this pull request Dec 2, 2024
BobaFetters added a commit to apollographql/apollo-ios-codegen that referenced this pull request Dec 2, 2024
BobaFetters pushed a commit that referenced this pull request Dec 2, 2024
daa2c1e4 feature: @OneOf input object support (#537)

git-subtree-dir: apollo-ios
git-subtree-split: daa2c1e408304c4943d12f5f1445b4fb2e7f4254
BobaFetters pushed a commit that referenced this pull request Dec 2, 2024
git-subtree-dir: apollo-ios
git-subtree-mainline: 4c87fc4
git-subtree-split: daa2c1e408304c4943d12f5f1445b4fb2e7f4254
BobaFetters pushed a commit that referenced this pull request Dec 2, 2024
461d092e feature: @OneOf input object support (#537)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: 461d092e5835dcfadf43aaa37606305582d1ac59
BobaFetters pushed a commit that referenced this pull request Dec 2, 2024
…pport

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: 8c28971
git-subtree-split: 461d092e5835dcfadf43aaa37606305582d1ac59
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.

Suport for OneOf Input Objects
4 participants