The idea is to add in the @results instance variable an object which simulates a Dry schema object so any other part of the code should just work as before.
I have also added the possibility to add an error before actually running a validation (not sure if that makes sense but I don't see why it wouldn't).
The idea is to add in the
@results
instance variable an object which simulates a Dry schema object so any other part of the code should just work as before. I have also added the possibility to add an error before actually running a validation (not sure if that makes sense but I don't see why it wouldn't).