Support dynamic configuration of code generator
Having to pass an XML config file to jOOQ makes it hard to dynamically compute values in the jOOQ configuration such as absolute paths of output directories; you end up needing to generate the XML file before calling the plugin.
The officially-blessed jooq Gradle plugin supports dynamic configuration of the code generator. So one solution would be if Jooq-Modelator could optionally delegate the codegen step to that plugin, while still managing the migrations and the Docker container.
Or perhaps the plugin could allow the build script to supply a generator config object constructed using jOOQ's programmatic configuration API.
Hello sgrimm,
thank you for your input. This indeed could be useful. I'm not sure when I will find the time to work on such a feature. If you want to contribute, I'm happy to help, and I do accept pull-requests.
There is a plugin similar to jooq-modelator which does support the dynamic configuration you are looking for. Maybe this can solve your problem? Here is the link.