-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hey there,
First off, thanks a lot for this great tool, it's really amazing to work with and as I am replacing Validator in my codebase I just remove so much boilerplate and unwieldy code, it's fantastic :)
I was wondering if you'd consider having the type byte in the library?
My use case here is that I created a TestFunc to validate against a UUID from the package google/uuid and its underlying type is an array of 32 bytes [32]byte.
That being said, I guess we'd also need a Array schema to handle these as I am guessing Slice won't cut it :/
Maybe there's a way for me to work with this without even adding anything to the library? I looked around in the docs but could not find anything.
Thanks and take care
Little update: read about custom coercers, tried to add one to support the google/uuid type but still no success