Patrick Jackson
Patrick Jackson

Reputation: 19446

Appengine Cloud Endpoints & core data

When using Cloud Endpoints generated libs, is there anyway to use core data without manually creating models? Is there any easy way to integrate the two so the objects from the endpoint can be persisted with core data?

Upvotes: 0

Views: 102

Answers (1)

Mundi
Mundi

Reputation: 80273

I am not aware of any generic solution. It seems to me that the two philosophies - Appengine Cloud Endpoints as a relational database vs. Core Data as an object graph - are just to different to facilitate a solution without any manual adaptation.

So there is no "easy way to integrate the two". That being said, if you write your own conversion solution, the most complicated part seems to be the change from foreign keys to relationships. Apart from that it should not be too difficult.

Upvotes: 1

Related Questions