Skip to content

UserResponse is never #94

@Brentlok

Description

@Brentlok

Describe the bug
When you don't have any additional fields in Users collection, the UsersRecord will be typed as never, and with that UsersResponse will also be typed as never

image

In my opinion this is incorrect behavior, because in fact user will have AuthSystemFields

Versions
pocketbase-typegen version: 1.2.1
pocketbase version: 0.20.7

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