Skip to content

Commit

Permalink
Remove source expression for deleted entities
Browse files Browse the repository at this point in the history
1. This is causing a crash.
2. Based on the documentation it's not clear what it's doing here anyway.
  • Loading branch information
iby committed Mar 3, 2019
1 parent 2a356d9 commit 55c6ec4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/CustomSchemaMappingProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ public class CustomSchemaMappingProvider: Hashable, SchemaMappingProvider {
entityMapping.sourceEntityName = sourceEntity.name
entityMapping.sourceEntityVersionHash = sourceEntity.versionHash
entityMapping.mappingType = .removeEntityMappingType
entityMapping.sourceExpression = expression(forSource: sourceEntity)

entityMappings.append(entityMapping)
}
Expand Down

0 comments on commit 55c6ec4

Please sign in to comment.