Skip to content

Custom serialization when make query #413

Closed
@livestalker

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)

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions