Start implementing range support for NonZero types#270
Start implementing range support for NonZero types#270timvisee wants to merge 1 commit intoKeats:masterfrom
Conversation
|
Hold on, there is #262 close to being merged so it would be better to check on that branch |
Thanks for the heads up! I'll try to rebase or recreate once it's merged. |
|
Look at the |
Fantastic. Much better interface to implement. I'll stall efforts on this until it is merged to prevent constant conflicts. |
|
Can you update the PR if you have time? I'm planning to release the changes soonish |
|
It's merged and released as 0.17 now |
|
I know this PR needs to be updated anyway, but just for the record, it looks like this is missing |
Fixes #269.
Implements support for using the
rangevalidator on NonZero types from the standard library such asNonZeroU64.This is just a start and is definitely not ready to be merged. I'm sure some important edge cases are missed. I'm not familiar with this codebase.
I'd like to know if implementing something like this is in-scope before putting more effort into it.