Updater

final class Updater<T> where T : Trait

A builder for Trait attribute updates.

Methods will be surfaced, based on the associated Trait, to allow setting the writable attributes.

  • Undocumented

    Declaration

    Swift

    let trait: T.Type
  • Undocumented

    Declaration

    Swift

    var attributesToUpdate: [AnyField : Parameter] { get }
  • Undocumented

    Declaration

    Swift

    init(_ trait: T.Type = T.self)
  • Internal API exposed for codegen. Do NOT use.

    Declaration

    Swift

    func set(_ parameter: Parameter)