Guille Gonzalez
Guille Gonzalez
Hi there, Groot doesn't care about the concurrency type of the managed object context that is passed to any of its methods. It uses `performBlockAndWait` to ensure that method calls...
You can find an example of `ValueTransformer` in the unit tests: https://github.com/gonzalezreal/Groot/blob/master/GrootTests/SerializationTests.swift#L23 And remember that the value transformer for a property is configured in the `.xcdatamodel` file: https://github.com/gonzalezreal/Groot/blob/master/GrootTests/Model.xcdatamodeld/Model.xcdatamodel/contents#L39
The value transformer(s) should be setup **once** before parsing. Usually application startup is a good place.
The type in the model doesn't need to be transformable. Please have a look at this [document](https://github.com/gonzalezreal/Groot/blob/master/Documentation/Annotations.md) to get to know how Groot annotations work.
Hi @scriptease What kind of errors are you getting? Could you please paste the output log? Thanks, Guille
Groot does not currently support mapping one relationship into multiple relationships. You should map your `sentMessages` array to a **single** relationship and then filter by type when fetching your managed...
Nope, sorry that wouldn't work.
Hi @mariusschoenefeld. Is there any message with the `fatalError`? Without more context, I can only guess that `MObject` does not have a corresponding entity in the Core Data model.
Hi all, Please make sure that the module of the class is properly identified in the model: In this example, taken from Groot unit tests, the model and the class...
Hi @dhearst, In general, you should avoid trying to parse reverse relationships in the JSON. So removing the JSONKeyPath from entities in the right side of a relationship is a...