Skip to content

[bug]: "_count" property is missing on optional nested relation #664

@DomZem

Description

@DomZem

I encountered a TypeScript error when trying to use _count inside a select query for an optional relation. I have created a minimal reproduction of the issue here: https://stackblitz.com/edit/stackblitz-starters-hf3myeuc?file=app%2Fpage.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions