Effect CommunityEC
Effect Community16mo ago
17 replies
jessekelly

Renaming Schema Methods for Clarity

It might be nice to support greaterThan, etc. for arbitarary types with an Order. Postfixing the current greaterThan etc. with Number and using the current fn names for general Order comparisons would probably make the most sense.

Schema.greaterThan (et. al) -> Schema.greaterThanNumber
Schema.greaterThan(Order, value, annotations?)
Was this page helpful?