Christopher Armstrong
Christopher Armstrong
That representation is actually exactly what I wanted :) (although maybe in an object instead of an array, so `10` and `20` are associated with some descriptive keys). If I...
But indeed, any structured serialization would have to wait on #184.
@tailhook shouldn't that kind of logic be in tokio proto?
I see, sorry! I'm not yet familiar with the tokio ecosystem :)
Good stuff! I do hope that the larger Tokio community picks up on your crate, or maybe even integrates it into some other crate.
btw this might be obsoleted by #334, depending on if you want to support older versions of ZK.
@funkyfuture thanks. yeah, a `None` type would also solve my problem. As for `type` taking multiple constraints, this is just a simplification of my real schema which has more complex...
another thing: if `nullable` really can't be used with `oneof`, shouldn't constructing a Validator with such a schema raise an exception?
if "nullable can be used with oneof", what behavior does it affect?
So... there's no effect?