Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid defining Hash#deep_merge and #deep_merge!
`config` uses `DeepMerge.deep_merge!` instead of `Hash#deep_merge!`, so monkey patching `Hash` is unnecessary. Furthermore, DeepMerge's `Hash` monkey patch is not compatible with Rails 7.1 (see [rails#49457][]). This commit changes `require 'deep_merge'` to `require 'deep_merge/core'` so that DeepMerge's `Hash` monkey patch is no longer loaded. Users who rely the monkey patch can load it manually via `require 'deep_merge/deep_merge_hash'`. Closes #314. [rails#49457]: rails/rails#49457
- Loading branch information