The README file has three examples of instantiating an object with enum validations. None of those examples include invalid data for the enums!
The whole reason for validations is in case invalid data comes along, so not including any in your examples is entirely unexpected and not very helpful.
The README file has three examples of instantiating an object with enum validations. None of those examples include invalid data for the enums!
The whole reason for validations is in case invalid data comes along, so not including any in your examples is entirely unexpected and not very helpful.