News for hackers. Stuff that matters.
Re:DBCore by eatonphil on Monday November 08, 2021 @04:56PM (#29154762)
The difference between this and openapi code generator (I think) is that I made a few specific decisions in the builtin templates that help get internal business apps off the ground faster. But since it's designed around a template system you could do whatever you want with it. And of course openapi is much more mature just generally speaking.

It's different from PostgREST in that it doesn't dynamically read schemas from the DB during the application server runtime. You generate an application from the DB up front and then you can do whatever you want with that generated application afterward.

Re:DBCore by eurasiantiger on Monday November 08, 2021 @05:30PM (#29155129)
How to migrate to a backwards-incompatible version of the schema without data loss?
Re:DBCore by eatonphil on Monday November 08, 2021 @06:16PM (#29155603)
This project has no state so to migrate your db you'd turn off the generated app, migrate the db, regenerate the app, and turn it back on.
Re:DBCore by llimllib on Monday November 08, 2021 @09:49PM (#29157141)
When I used a similar-ish library, the answer was mostly: don't make backwards-incompatible versions of the schema