lib/config/validation/validate.rb in config-5.2.0 vs lib/config/validation/validate.rb in config-5.3.0

- old
+ new

@@ -2,9 +2,13 @@ module Config module Validation module Validate def validate! + return unless Config.validation_contract || Config.schema + + Config::DryValidationRequirements.load_dry_validation! + validate_using!(Config.validation_contract) validate_using!(Config.schema) end private