Adzz / data_schema

Declarative schemas for data transformations.
Apache License 2.0
86 stars 9 forks source link

Fuzzing #41

Open Adzz opened 2 years ago

Adzz commented 2 years ago

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.