These are chat archives for dry-rb/chat
schema.(input).message_set.dumpyou will get failures exclusively
class MyStruct < Dry::Types::Struct attribute :my_attr, Types::Strict::String end Dry::Types[MyStruct] # => MyStruct Dry::Types[Class.new(MyStruct)] # Dry::Container::Error: Nothing registered with the key "#"
:streamattributes, and I want to constraint
:filenamewith different extensions in different other structs
attribute :pdf_file, MyFile.filename_format(/\.pdf$/)
dry-typesis based on anonymous objects. There is no
Dry::Types::Constrainedwith some rules inside
#<Class:0x007fd0bc379648>works fine as class name, because it's unique
Dry::Types::Constrainedwith custom predicate
dry-structgem about container use?