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

Update Apollo to 1.0.0 and use via SPM Plugins #51

Merged
merged 2 commits into from
Oct 8, 2022

Conversation

pchmelar
Copy link
Member

@pchmelar pchmelar commented Oct 4, 2022

📝 Description

  • This PR updates Apollo to 1.0.0 🚀

💡 What’s new?

  • Apollo recently released version 1.0.0 with a lot of improvements and a support for SPM Plugins.
  • Codegen CLI is now available via SPM Plugins - check documentation for more info. 👀
  • Fetching GraphQL schema and generating code from queries is now based on a JSON configuration file. We can have multiple of these configurations in the project - check RocketToolkit/apollo-codegen-config.json for example.
  • There is apollo.sh script for convenience (it is also executed as a part of setup.sh).
  • Generated mocks used in tests. 🤓

😶 What’s missing?

📚 References

  • In text

tomas-bat
tomas-bat previously approved these changes Oct 4, 2022
tommassbrand
tommassbrand previously approved these changes Oct 5, 2022
@pchmelar
Copy link
Member Author

pchmelar commented Oct 8, 2022

BTW it is also possible to run the Apollo by right-clicking the RocketToolkit in the Xcode. 🚀
https://blog.eidinger.info/xcode-integration-of-swift-package-plugins-in-xcode-14

Screenshot 2022-10-08 at 23 15 58

@pchmelar pchmelar merged commit 41fe3d0 into develop Oct 8, 2022
@pchmelar pchmelar deleted the feature/apollo-spm-plugin branch October 8, 2022 22:34
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.

3 participants