Skip to content

Use $toDatabaseJson when caching items #25

@rohit-gohri

Description

@rohit-gohri

Ref: https://vincit.github.io/objection.js/api/model/instance-methods.html#todatabasejson

This would fix cache also caching unnecessary values from getters and virtual properties

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions