Closed nemonemi closed 3 months ago
Please disregard this. I passed the property wrong.
It should be:
generates: {
presetConfig: {
fragmentMasking: false
}
}
Instead of:
generates: {
config: {
presetConfig: {
fragmentMasking: false
}
}
}
Which packages are impacted by your issue?
No response
Describe the bug
Previously, when generating types from the graphql schema I would get a normal and expected type:
Now, the query contains fragments, but until now they were just a means of optimizing the queries.
After updating Codegen and MSW, I now get this:
It's not just the structure that changed, but the whole model. This is not usable, any longer.
Your Example Website or App
I hope it is not needed, and it's just a configuration issue on my part.
Steps to Reproduce the Bug or Issue
...
Expected behavior
I expect that, unless I opt-in for a new behavior explicitly, that the schema is generated as previously.
Screenshots or Videos
No response
Platform
graphql
version: 16.7.1Codegen Config File
Additional context
No response