valico icon indicating copy to clipboard operation
valico copied to clipboard

Stream processing?

Open arcmode opened this issue 5 years ago • 0 comments

Hi, this is actually a question

Is it possible to process large payloads with Valico without having the entire payload in memory at any point in time?

If I understand the implementation correctly it would require being able to read a serde Value lazily from a stream but I don't know if that can be done without wrapping around another struct

If this is not currently supported would it be an acceptable feature-request that Valico adds support for validation of streams into a ~Vec of errors~ some error disregarding the content of the payload at all?

arcmode avatar Sep 07 '19 02:09 arcmode