Roman
Roman
Hey @sinclairzx81! Does `ajv` fit into the criteria outlined here? https://github.com/moltar/typescript-runtime-type-benchmarks#criteria Also, I think some packages do use `ajv` internally. You can see which ones by doing `npm ls ajv`...
> Just for a bit of context. I actually manage this project https://github.com/sinclairzx81/typebox that implements the JSON schema specification but doesn't actually implement any runtime validation logic. Yup yup, I...
> One thing I have noticed is that the docs svg has not updated one last pr... is this being re-created at build time or is something I need to...
I think the preview is toggled off by env? https://github.com/moltar/typescript-runtime-type-benchmarks/blob/929a5d0bb5d3a85dd7522983c2ce91d9bf208d0f/benchmarks/helpers/main.ts#L17 @hoeck Is the preview image static and needs to be manually re-generated or do we need to set the env...
I am open to having more tests, but we need to be mindful of total run time. If we have too many or too slow ones then it'll be taking...
Hey @shlomiassaf, This is a great analysis. Thank you for that insight. I knew that some of these libraries use `eval`'ed tricks for validation, but didn't realize about hot caching...
Hey @shlomiassaf, Any ideas on the above?
@gigobyte thank you for your input, I do think this is something we can address also.
> It would also be helpful to separate quick validations (that return true/false) and error-reporting validations. > In the case of io-ts, the .is() method works differently than .decode() and...
Made this change: https://github.com/moltar/typescript-runtime-type-benchmarks/commit/5501aa1ca92aa58652a00b5193ace172bcce69d3 Is this good enough?