Closed axvr closed 10 months ago
I can do the PR for this... start off with something simple, for my first PR to malli. ...
Is there someone with merge authority that can comment whether they want this fixed?
@niwinz you have been doing UUID fixes for Malli. What do you think about this?
Yep, I will look on on it today :D
I think the issue is valid, and for to be RFC compliant, we need to accept uuids in case insensitive way. I created a PR for address this.
When given an upper case UUID string, the
mt/string-transformer
does not convert it to a UUID object.The UUID RFC also states (emphasis mine):
While generated UUIDs should be lower case as per the RFC, this is unfortunately not always the case (e.g. the
uuidgen
command on macOS and old Microsoft programs).The
clojure.core/parse-uuid
function (and theUUID/fromString
static method that backs it) are also case insensitive.