Skip to content

Add depth to the options in the action_fields #3

@dafful-dev

Description

@dafful-dev

The depth Meta fields enables relationship expansion. I believe adding this field will be an amazing addition to this awesome library.
I use this library a lot. However I found myself repeating Serializers because of this.

Essentially I wanted to be able to do something like this"
action_fields = {"list": {"fields": ("id", "name","product"), "depth": 2 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions