Skip to content

Commit d07c885

Browse files
authored
Merge pull request #1008 from DeluxeAlonso/feature/code-cleanup
Feature/code cleanup
2 parents b1ff9b3 + e423d26 commit d07c885

File tree

1 file changed

+1
-1
lines changed
  • CoreDataInfrastructure/CoreDataInfrastructure/Helpers/Protocols

1 file changed

+1
-1
lines changed

CoreDataInfrastructure/CoreDataInfrastructure/Helpers/Protocols/Managed.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extension Managed {
3232
extension Managed where Self: NSManagedObject {
3333

3434
static var entityName: String {
35-
entity().name!
35+
entity().name ?? ""
3636
}
3737

3838
static func fetch(in context: NSManagedObjectContext,

0 commit comments

Comments
 (0)