File tree Expand file tree Collapse file tree
Sources/CoreDataRepository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ extension CoreDataRepository {
3333 object. create ( from: item)
3434 let result : Result < NSManagedObject , CoreDataRepositoryError > = . success( object)
3535 return result
36- . map ( to: Model . RepoManaged. self, context : scratchPad )
36+ . map ( to: Model . RepoManaged. self)
3737 . save ( context: scratchPad)
3838 . map ( \. asUnmanaged)
3939 }
@@ -55,7 +55,7 @@ extension CoreDataRepository {
5555 promise (
5656 Self . getObjectId ( fromUrl: url, context: readContext)
5757 . mapToNSManagedObject ( context: readContext)
58- . map ( to: Model . RepoManaged. self, context : readContext )
58+ . map ( to: Model . RepoManaged. self)
5959 . map ( \. asUnmanaged)
6060 )
6161 }
@@ -83,7 +83,7 @@ extension CoreDataRepository {
8383 scratchPad. transactionAuthor = transactionAuthor
8484 return Self . getObjectId ( fromUrl: url, context: scratchPad)
8585 . mapToNSManagedObject ( context: scratchPad)
86- . map ( to: Model . RepoManaged. self, context : scratchPad )
86+ . map ( to: Model . RepoManaged. self)
8787 . map { repoManaged -> Model . RepoManaged in
8888 repoManaged. update ( from: item)
8989 return repoManaged
You can’t perform that action at this time.
0 commit comments