diff --git a/lib/dry/schema.rb b/lib/dry/schema.rb index 33213ae4..3e1ea18a 100644 --- a/lib/dry/schema.rb +++ b/lib/dry/schema.rb @@ -32,6 +32,7 @@ def self.loader "#{root}/dry/schema/{constants,errors,version,extensions}.rb", "#{root}/dry/schema/extensions" ) + loader.do_not_eager_load("#{root}/dry/schema/messages/i18n.rb") loader.inflector.inflect("dsl" => "DSL") end end