Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Runtime validate at the database boundary? Isn't it better to just do runtime validation at the api boundary instead? Then any of the types that make it into the database should be mostly guaranteed by TS (and of course, whatever types are enforced by the database schema itself).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: