Skip to content

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

@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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions