Change
A change
describes the change that will be made to the indicated object.
-
Undocumented
See moreDeclaration
Swift
public enum Action : String, Decodable
-
actions
are the actions that will be taken on the object selected by the properties below. Valid actions values are: [“no-op”] [“create”] [“read”] [“update”] [“delete”, “create”] [“create”, “delete”] [“delete”] The two “replace” actions are represented in this way to allow callers to e.g. just scan the list for “delete” to recognize all three situations where the object will be deleted, allowing for any new deletion combinations that might be added in future.Declaration
Swift
public let actions: [Action]
-
before
andafter
are representations of the object value both before and after the action. For [“create”] and [“delete”] actions, either “before” or “after” is unset (respectively). For [“no-op”], the before and after values are identical. Theafter
value will be incomplete if there are values within it that won’t be known until after apply.Declaration
Swift
public let before: Values?