appengine-rest-server icon indicating copy to clipboard operation
appengine-rest-server copied to clipboard

ability to retrieve child objects via references to parent properties

Open GoogleCodeExporter opened this issue 9 years ago • 2 comments

This is an enhancement split out from issue 29.  The request is for a way to 
retrieve actual child objects via parents.

e.g. given the models:

def Parent(db.Model):
  child = db.ReferenceProperty(Child)

def Child(db.Model):

currently, the url "http:{service}//rest/Parent/{Parent_Key}/child" would 
return you the key of the child object.  the request is for an alternate syntax 
the would return the actual Child object.

Original issue reported on code.google.com by [email protected] on 10 Apr 2011 at 11:56

GoogleCodeExporter avatar Mar 15 '15 00:03 GoogleCodeExporter

Was this solved?

Original comment by [email protected] on 16 Apr 2013 at 5:11

GoogleCodeExporter avatar Mar 15 '15 00:03 GoogleCodeExporter

nope, that's why this issue is still open.

Original comment by [email protected] on 17 Apr 2013 at 12:11

GoogleCodeExporter avatar Mar 15 '15 00:03 GoogleCodeExporter