My schema has a key whose structure should be defined by the schema defining the key. Something like:
class MySchema < Dry::Schema::Params
required(:key).hash(MySchema)
end
Possibly related: Is it possible to recursively call a schema?
My schema has a key whose structure should be defined by the schema defining the key. Something like:
class MySchema < Dry::Schema::Params
required(:key).hash(MySchema)
end
Possibly related: Is it possible to recursively call a schema?
No, this is not supported yet.