Skip to content

Filtering on Id? #406

Closed
Closed
@milosloub

Description

@milosloub

Do you know, how should be handled filtering like this?
api/clients?filter[id]=in:1,2,3

this leads to make all resources derive from "BaseEntity" with Identifiable override:

    [Attr("id")]
    public override int Id { get => base.Id; set => base.Id = value; }

it's ok, but then id is presented in top-level and in attributes also. Do you know
how to handle this as the best practice?

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