I'd like to integrate models and types with a custom (in-house built) framework.
In order to do that, I'd like to generate custom marshaler/unmarshaler functions.
It would be nice if I could add arbitrary templates to the code generation process.
One thing I tried is overriding templates for a server that I don't use. To complicate things, we still use the Chi integration, so I actually need to support two servers at the same time...which is not allowed at the moment.
As a result, I'm now overriding Chi templates by copying the original ones and extending them with my custom code which is not ideal IMO.
I'd like to integrate models and types with a custom (in-house built) framework.
In order to do that, I'd like to generate custom marshaler/unmarshaler functions.
It would be nice if I could add arbitrary templates to the code generation process.
One thing I tried is overriding templates for a server that I don't use. To complicate things, we still use the Chi integration, so I actually need to support two servers at the same time...which is not allowed at the moment.
As a result, I'm now overriding Chi templates by copying the original ones and extending them with my custom code which is not ideal IMO.