Namespace collision when using Schema for schemaName #2664
Labels
bug
Generally incorrect behavior
codegen
Issues related to or arising from code generation
planned-next
Slated to be included in the next release
Milestone
Bug report
When you pass
schema
forschemaName
to generate types using theswiftPackageManager
, the generated code will not compile because the generated module collides with an ApolloSchema
type. It would be great if we document invalidschemaName
values somewhere or use explicit namespacing in Apollo to avoid this.Versions
Please fill in the versions you're currently using:
apollo-ios
SDK version: 1.0.3Steps to reproduce
swiftPackageManager
module type usingschema
forschemaName
The text was updated successfully, but these errors were encountered: