4 ms·
What do you mean by excessively verbose? They seem to make a point at being minimalist and the comparison with JSON schema in the README page seems to attest to
by skywal_l 4y ago
What do you mean by excessively verbose? They seem to make a point at being minimalist and the comparison with JSON schema in the README page seems to attest to it.
- metadat 4y agoCompared to a struct in C, Rust, Golang, or Java it takes more key presses on behalf of the programmer and only works in (/is optimized for) a narrowly specific set of circumstances. Convenient in some ways (e.g. if you are only comfortable in JS), and does nothing useful in other contexts. Nothing inherently wrong with it, other than it seems like a missed opportunity. Is this more than a subset of Wordnik's Swagger? https://swagger.io/ https://swagger.io/
- arinlen 4y ago> Compared to a struct in C (...) That's hardly a relevant point or meaningful comparison. The discussion is about schema validators for TypeScript/JavaScript.
- metadat 4y agoWhy limit to only the (frontend | Node.js)?
- codewithcheese 4y agoSwagger uses JSON Schema to describe the data formats. https://swagger.io/docs/specification/data-models/keywords/ https://swagger.io/docs/specification/data-models/keywords/ This is a easier write, easier to read, compatible with JSON Schema alternative. Spartan Schema could be used instead of JSON Schema to make the document easier for humans to work with.
- metadat 4y agoAt the core, is this more than a JSON-schema generator bundled with a check function? Could it be >?
- codewithcheese 4y ago> At the core, is this more than a JSON-schema generator bundled with a check function? Could it be >? > Then the meta solution will become self-evident. > Think bigger. Are you going to share your big idea?