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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,41 @@
1
+
# 0.5.0 / 2018-11-09
2
+
3
+
### Changed
4
+
5
+
- Only assign `nil` dependency instance variables from generated `#initialize` if the instance variable has not been previously defined. This improves compatibility with objects initialized in non-conventional ways (see example below) (timriley in [#47](https://github.com/dry-rb/dry-auto_inject/pull/47))
6
+
7
+
```ruby
8
+
moduleSomeFramework
9
+
classAction
10
+
defself.new(configuration:, **args)
11
+
# Do some trickery so `#initialize` on subclasses don't need to worry
12
+
# about handling a configuration kwarg and passing it to super
0 commit comments