Skip to content

BUG GET \parents\{pk}\children\count on embedsMany and referencesMany #568

@veekungx

Description

@veekungx

when declared relation like this

{
     name : "Parent"
     relations: {
        "type": "embedsMany",
      "model": "Child"
     }
}

then call
GET /parents/{pk}/children/count

It count on Child collection instead of sub-document

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions