-
Notifications
You must be signed in to change notification settings - Fork 731
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
Generated Schema package using wrong import statements #2663
Comments
After deleting everything and regenerating from scratch, it seems this is caused by using |
Hi @StarLard 👋🏻 - thanks for the bug report. The combination of Check in your config file what the value of |
I was hoping to add my generated files to a target that has Apollo installed via cocoapods and bring in my schema types module via SPM, but I guess that would mean having two Apollo installations so yeah, it would be nice if this configuration wasn't available. |
Yeah, that's not a configuration we support. |
@StarLard, this is now fixed and will be included in the |
Bug report
When you specify
swiftPackageManager
module type to generate code, the generated Schema files will useimport Apollo
instead ofimport ApolloAPI
, which generates the compiler error "No such module 'Apollo'"Versions
Please fill in the versions you're currently using:
apollo-ios
SDK version: 1.0.3Steps to reproduce
swiftPackageManager
module typeThe text was updated successfully, but these errors were encountered: