Peter Solnica

Results 573 comments of Peter Solnica

This is actually by design, type-related hints are filtered out because in more common cases it makes more sense. It's possible to include type hints in your case though but...

I'm putting this `on hold` for the time being, there are more important things to do. Good news is that I *think* I have a good idea how hints could...

This should not crash of course, but I also wanted to point out that you want to use a custom type that will reject blank strings and return an empty...

Should be easy to fix then 🙂

@patodevilla please report this as well

I've been thinking about it, we could give this a shot, we have better APIs to build this feature now. The only difference would be to use `array` instead of...

@CesarOliveira you can define a schema for an array item and have a wrapper that applies it to each item and then merge results into one.

@volkanunsal not yet, still scheduled for 2.0.0 though

I believe this is expected. key maps rely on types, and `each` does not specify the type. This should work with `array do ... end`.

> Perhaps you should require an explicit type declaration before "each" expression? Yes I do plan to add checks like this