In [email protected] I'm receiving
Unexpected argument: --clientSchema=src/config/schema.graphql`
While trying apollo client:codegen __generated --target typescript --clientSchema=src/config/schema.graphql
It seems like the commit d2d73f9c597845355b7ee267e411d80d1c493043 removed the support for client-side schemas on the _client:codegen_ functionality. The arguments to add client schema have been removed.
Is there any intention in supporting it again?
Well, apparently the _codegen_ automatically finds local .graphql files and includes them into the schema without the need of declaring them.
I just declared a local.graphql and included the extension that I needed and everything worked fine
This is so frustrating. Why is Apollo so intent on violating semver? Almost every time I update a patch or minor version of some apollo package, I have to go figure out what broke.
The changes are typically great – just bump the major version! And maybe mention breaking changes in the changelog. 🙏🏼
Most helpful comment
This is so frustrating. Why is Apollo so intent on violating semver? Almost every time I update a patch or minor version of some apollo package, I have to go figure out what broke.
The changes are typically great – just bump the major version! And maybe mention breaking changes in the changelog. 🙏🏼