Changing
protocol Changing : Decodable
Protocol all change types have to conform to
-
optional reason of change if stated in migration guide
Declaration
Swift
var reason: String? { get set }
-
changed object (e.g. model, endpoint, method)
Declaration
Swift
var object: ObjectType { get set }
-
change target (e.g. signature, parameter, etc.)
Declaration
Swift
var target: TargetType { get set }
-
type of change (DELETED, ADDED, etc.)
Declaration
Swift
var changeType: ChangeType { get set }
-
validation method to determine if change can be executed
Declaration
Swift
func validate() throws