HackerTrans
トップ新着トレンドコメント過去質問紹介求人

justhamade

no profile record

投稿

Validation, Docs, tests, and database schemas from one source of truth

github.com
10 ポイント·投稿者 justhamade·先月·4 コメント

コメント

justhamade
·26 日前·議論
Sort of, but the benefit is more along the lines of regression testing to make sure when things change they don't break. Also it does random fuzzing which can generate weird, edge-case inputs, like bizarre Unicode strings or extremely large numbers. These might technically pass declared schema validation but end up breaking your actual handler or database implementation.
justhamade
·先月·議論
TypeScript-first API framework built on the idea that an API's specification, implementation, validation, and tests should never drift apart, because they are the same thing.