3 ms·
> You've just turned your database schema into the API It might actually be quite easy to version an SQL api, because you have the DDL migrations files and cou
by vaughan 6y ago
> You've just turned your database schema into the API
It might actually be quite easy to version an SQL api, because you have the DDL migrations files and could actually make things backwards compatible to some degree. You would have a translation layer to modify the queries. Of course, your migrations would need to be more detailed tracking how things map to each other. But probably it would get too complex in the end. But not that much different to changes to a REST api really.
- throwawaygh 6y agoThis sounds like a good way to spend 2 years happy and then in the 3rd year spend a monumental amount of money hiring a world-class compilers/databases expert to 10x the perf of DB migrations :) But, yeah, this happens with REST APIs too.