My fork of the exposed-code-generator plugin now has a published version on github packages! It fixes most of the major issues reported so far, and allows custom mappings for columns and enums. I've been using it with flyway migrations and postgres without issue to map json columns and custom enums, integrate with DAO references and more! Check it out here: https://github.com/EpicSquid/exposed-code-generator
K 4
👍 2
🚀 3
d
Daniel
04/18/2023, 8:18 AM
Damn, I wish this was out sooner, I just wrote a Python script to generate exposed table definitions for my project yesterday 😄
r
Ryan Woodcock
04/18/2023, 8:24 AM
Oh man I'm sorry! I've been testing it and using it for a bit, just hadn't worked out github packages till today
d
Daniel
04/18/2023, 8:26 AM
No worries, testing is important 🙂 I just found the coincidence funny.
d
dzikoysk
04/19/2023, 1:27 PM
Nice, lately I've made similar tool that generates Exposed DSL bindings from annotations that describe db scheme, but in the end I gave up on Exposed due to the amount of issues Exposed has + kinda lack of support 😓