dry-rb / dry-logic

Predicate logic with rule composition
https://dry-rb.org/gems/dry-logic/
MIT License
179 stars 66 forks source link

Add predicates for UUIDv6/7/8 #110

Closed Ptico closed 1 year ago

Ptico commented 1 year ago

While the updates is in a Proposed Standard status, there is already some implementations in the wild and some people (including me) are considering using it in a database for better indexing. Test values taken from the IETF repository

flash-gordon commented 1 year ago

For the record, I've been using UUIDv6 for ages now. It's good to see this finally makes it to the standard. I think it's safe to merge at this point. It will require adding default error messages to dry-schema, though.

If nobody is against it, I'll merge the PR by the end of the week

Ptico commented 1 year ago

@flash-gordon I'll prepare an accompanying PR to dry-schema next week