I have a Company object like that :
class Company < Dry::Struct constructor_type(:strict_with_defaults) LegalForms = Types::Strict::String.enum('SA') attribute :name, Types::Strict::String attribute :legal_form, LegalForms end
It’s there a way to show ALL types errors ?
When I do :
It show only the first type error (name here)
([Company.new] :name is missing in Hash input)
I want something like :
[Company.new] :name is missing in Hash input, :legal_form is missing in Hash input