You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#616 Relax freezing policy for `ROM::Configurable`
[changelog]
changed: "Configuration values are no longer being frozen during setup process (issue #616 fixed via #617) (@v-kolesnikov)"
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.
The text was updated successfully, but these errors were encountered: