Closed fiftoine closed 9 years ago
Actually, EPF looks for a "foo" property in the hash but how can I make it to look for "foo_id"? I tried setting typeKey property in foo property in the BarSerializer but it's not using it... Should I implement a complete deserialize method or is there some property to set ?
Ok found it!!! Seting the key property on the foo properties on the BarSerializer to "foo_id" did the trick.
Hope it can help someone though.
Hi,
Considering the model :
When the server responds with
to
then bar.foo is empty, even if the property name of foo is observed... I suppose a LazyModel instance should be set to foo...
What am I doing wrong? Thanks in advance