Skip to content

Commit 8abca64

Browse files
committed
Fix deprecation warning.
1 parent f79cd5e commit 8abca64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ComposableArchitecture/Macros.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public macro Reducer(state: _SynthesizedConformance..., action: _SynthesizedConf
5656
#endif
5757
public struct _SynthesizedConformance: Sendable {}
5858

59+
@available(*, deprecated, message: "Define your conformance using an extension, instead")
5960
extension _SynthesizedConformance {
6061
/// Extends the `State` or `Action` types that ``Reducer()`` creates with the `Codable`
6162
/// protocol.

0 commit comments

Comments
 (0)