The doc here seems to say that we can overwrite default codegen config. But only the config key. I really like the typescript-react-apollo plugin. And I don’t see a way to add it to the list of plugins for codegen, that list seems to be hard coded in redwood (see here)
Does anyone knows if there’s a way to add a plugin to codegen in redwood?
I like the idea of custom codegen plugins.
But I also think, that the functionality of typescript-react-apollo could be easily implemented with a custom redwood generator. So you keep your QUERY within your cell and add an additional hook to it.
I am doing this manually right now, and add i.e something like this at the end of EditScenarioCell: