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
Re-adds Reducer.forEach method removed in 1.4 (#2570)
* Re-adds an initialiser that was removed in 1.4
* Update ForEachReducer.swift
Only have two overloads:
- `CaseKeyPath` to an `IdentifiedAction`
- Deprecated `AnyCasePath` to an unnamed tuple
* Update ForEachReducer.swift
---------
Co-authored-by: Stephen Celis <[email protected]>
Co-authored-by: Stephen Celis <[email protected]>
Copy file name to clipboardExpand all lines: Sources/ComposableArchitecture/Reducer/Reducers/ForEachReducer.swift
+9-50Lines changed: 9 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -122,31 +122,31 @@ extension Reducer {
122
122
iOS,
123
123
deprecated:9999,
124
124
message:
125
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
125
+
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
126
126
)
127
127
@available(
128
128
macOS,
129
129
deprecated:9999,
130
130
message:
131
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
131
+
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
132
132
)
133
133
@available(
134
134
tvOS,
135
135
deprecated:9999,
136
136
message:
137
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
137
+
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
138
138
)
139
139
@available(
140
140
watchOS,
141
141
deprecated:9999,
142
142
message:
143
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
143
+
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
170
-
)
171
-
@available(
172
-
macOS,
173
-
deprecated:9999,
174
-
message:
175
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
176
-
)
177
-
@available(
178
-
tvOS,
179
-
deprecated:9999,
180
-
message:
181
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
182
-
)
183
-
@available(
184
-
watchOS,
185
-
deprecated:9999,
186
-
message:
187
-
"Use an 'IdentifiedAction', instead. See the following migration guide for more information:\n\nhttps://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/Migratingto14#Identified-actions"
0 commit comments