ModelFacade

struct ModelFacade : Facade

Used to write modified model templates to swift files

  • Undocumented

    Declaration

    Swift

    var modifiables: [Modifiable]
  • Undocumented

    Declaration

    Swift

    var targetDirectory: Path
  • Undocumented

    Declaration

    Swift

    var migrationSet: MigrationSet?
  • Persists models to files

    Throws

    error if writing fails

    Declaration

    Swift

    func persist() throws -> [URL]

    Return Value

    [URL] of file URLs