3 ms·
Json-schema itself scales down pretty well. But the libraries for validating it do not. Even if your schema is only {}, the build size increment because of pull
by eventreduce 6y ago
Json-schema itself scales down pretty well. But the libraries for validating it do not. Even if your schema is only {}, the build size increment because of pulling in a jsonschema validator is enormous because of all these supported features.
- arethuza 6y agoFair enough I guess - don't think I've ever had a need to do client side JSON validation against a 'schema' so I've never had that concern.