ActionFormat - mbrandonw/swift-composable-architecture GitHub Wiki
ActionFormat
Determines how the string description of an action should be printed when using the .debug()
higher-order reducer.
public enum ActionFormat
Enumeration Cases
labelsOnly
Prints the action in a single line by only specifying the labels of the associated values:
case labelsOnly
Action.screenA(.row(index:, action: .textChanged(query:)))
prettyPrint
Prints the action in a multiline, pretty-printed format, including all the labels of any associated values, as well as the data held in the associated values:
case prettyPrint
Action.screenA(
ScreenA.row(
index: 1,
action: RowAction.textChanged(
query: "Hi"
)
)
)