Relax freezing policy for `ROM::Configurable`
v-kolesnikov opened this issue · 0 comments
v-kolesnikov commented
Describe the bug
Freezing configuration settings in ROM::Support::Configurable is too aggressive
rom/core/lib/rom/support/configurable.rb
Line 39 in d34b479
To Reproduce
Configuration setting may be an object that has mutations on itself, so we shouldn't freeze that objects. For example: rom-rb/rom-elasticsearch#14
Expected behavior
Mutable objects could be able to set as configuration settings.