Closed expede closed 7 years ago
Using a tagged tuple cased the generator all kinds of edge cases. Falling back to structs. Performance penalty is only at compile time, so whatevs.
Also added a @force_type_instance option to skip validation for single instances, and updated README with reasoning.
@force_type_instance
Have you thought of depending on PropEr or some other full property check library for this functionality? :-)
PropEr
Yup, it's in the roadmap. Right now just trying to make things work.
Using a tagged tuple cased the generator all kinds of edge cases. Falling back to structs. Performance penalty is only at compile time, so whatevs.
Also added a
@force_type_instance
option to skip validation for single instances, and updated README with reasoning.