gonzalezreal / Groot

From JSON to Core Data and back.
Other
534 stars 61 forks source link

Changed className string to use the class name #94

Closed vincilbishop closed 5 years ago

vincilbishop commented 5 years ago

Changed className string to use the class name only and not the containing module for CoreData implementations that span more than one module.

This was causing a problem when the .xcdatamodeld was contained in a Cocoapod and not the application.

gonzalezreal commented 5 years ago

Hi @vincilbishop,

The change you are proposing breaks the functionality of having the core data model in a module or in the app. If fact, it breaks the unit tests. So I can't merge it, sorry.

I don't know the details of the pod you're trying to use that contains a core data model but, perhaps, it is a problem that should be solved on their side.