Usage for HTTP validation
I'm looking to use Arktype as a Request/Response validator
This comes with the following requirements:
Please list recommended AT APIs for this
Please link the related undone issues is any
This comes with the following requirements:
- Request body should be validated with deep
rejectunknownKeys so invalid requests are immediately 422 - Response should be validated with deep
deleteunknownKeys so local information can't passthrough - Response input should be cloned rather then inline-morphed (including key deletion) so you can pass in input objects as-is
Please list recommended AT APIs for this
Please link the related undone issues is any