3 ms·
It’s almost worth it to me just to force a single source of truth for data shape and type.
by ericmcer 8y ago
It’s almost worth it to me just to force a single source of truth for data shape and type.
- ralusek 8y agoYou probably shouldn't rely on the API layer as your single source of truth describing the shape of your data... There's a reason DB schemas are considered a feature, rather than a burden, by most.
- ericmcer 8y agoWhen dealing with green fields projects of course you can rely on clear schemas. Less so in practice when working on an older live app that has passed through multiple maintainers and maybe even been migrated between different DBs.