Closed pyromaniac closed 1 year ago
At the first glance this is connected https://github.com/dry-rb/dry-validation/issues/718 😅
It indeed looks the same issue. I also had a bigger schema and managed to reduce the example to the one I submitted and it looks very similar to https://github.com/dry-rb/dry-validation/issues/718#issuecomment-1284124753
I'll look into this. Most likely it's the same story as with #437.
Hello there folks!
Describe the bug
There was a weird schema regression after 1.9.3.
To Reproduce
Unfortunately, unable to debug it deeper but
.maybe(:hash)
is important andoptional(:comment).maybe(:string)
presence is also important. It could be some leakage in the schema definition.Expected behavior
In 1.9.3 it works as expected passing the validation.
My environment
Big thank you in advance!