Open postmodern opened 1 year ago
It's not yet supported, we could throw a more meaningful error for a start. Adding support would require adding some predicates to dry-logic that we can later infer here, in dry-schema.
Oh, actually, predicate_inferrer resides in dry-types
I added a clean message about it to dry-types
Describe the bug
I am trying to use a
dry-type
ofTypes::Hash.map(Types::String, Types::String)
in aDry::Validation::Contract
class, howeverDry:Schema::Compiler
attempts to call the non-existentvisit_map
method.To Reproduce
Expected behavior
Loads and initializes the types.
Actual Result
My environment