mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-17 23:14:05 +01:00
Support typed errors. Misc formatting
This commit is contained in:
@@ -53,7 +53,14 @@ public final class InferredSchemaMappingProvider: Hashable, SchemaMappingProvide
|
||||
|
||||
// MARK: SchemaMappingProvider
|
||||
|
||||
public func cs_createMappingModel(from sourceSchema: DynamicSchema, to destinationSchema: DynamicSchema, storage: LocalStorage) throws -> (mappingModel: NSMappingModel, migrationType: MigrationType) {
|
||||
public func cs_createMappingModel(
|
||||
from sourceSchema: DynamicSchema,
|
||||
to destinationSchema: DynamicSchema,
|
||||
storage: LocalStorage
|
||||
) throws(CoreStoreError) -> (
|
||||
mappingModel: NSMappingModel,
|
||||
migrationType: MigrationType
|
||||
) {
|
||||
|
||||
let sourceModel = sourceSchema.rawModel()
|
||||
let destinationModel = destinationSchema.rawModel()
|
||||
|
||||
Reference in New Issue
Block a user