Open wrmk opened 9 months ago
The dry-logger raises an exception while trying to warn about something
class TestLogger extend Dry::Initializer option :array, Types::Strict::Array.default([]) end
in this example Logger should inform about freezing the default value
The problem could be solved if we update the Logger.new in this line from Logger.new(output) to Logger.new(stream: output)
Logger.new
Logger.new(output)
Logger.new(stream: output)
Warning should be visible in the log and no exception should be raised
Describe the bug
The dry-logger raises an exception while trying to warn about something
To Reproduce
in this example Logger should inform about freezing the default value
The problem could be solved if we update the
Logger.new
in this line fromLogger.new(output)
toLogger.new(stream: output)
Expected behavior
Warning should be visible in the log and no exception should be raised
My environment