data_schema icon indicating copy to clipboard operation
data_schema copied to clipboard

Fuzzing

Open Adzz opened this issue 3 years ago • 0 comments

Just an early thought but

It would be great if you could easily generate either valid schemas, or valid input data that could be consumed by a schema. Even better if this is random in some way.

So one way we could do that is add another (optional) callback to the cast_fn that let you define generators for input to the cast fns.

If that is implemented then you could easily generate example data from it without needing factories or anything like that.

Adzz avatar Sep 29 '22 21:09 Adzz