I’m trying to migrate from 0.43.0 to 1.0.5, but I’m facing some issues.
I’ve gone through the migration guide using SPM, the Install CLI approach, and defined a custom apollo-codegen-config.json using the embeddedInTarget option (and other app specific settings), generated the code and imported all files to the target.
The issue (at least one of them) is that I get this compilation error inside the generated files:
Type ‘Schema.MaterialFields’ does not conform to protocol ‘SelectionSet’
The suggested fix is to provide a type alias for Schema.
What’s going wrong here? I’ve looked through the docs and searched for similar issues but no results.
Thank you for any help