Closed
Description
Hello!
Custom serialization not working when I make query.
Example:
/url/model?q=... does not apply custom serialization
/url/model/id custom serialization work fine
def get(self, instid, relationname, relationinstid):
...
if instid is None:
return self._search() //it is return default serialized objects
...
if relationname is None:
result = self.serialize(instance)