Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserResponse is never #94

Open
Brentlok opened this issue Jan 19, 2024 · 1 comment
Open

UserResponse is never #94

Brentlok opened this issue Jan 19, 2024 · 1 comment

Comments

@Brentlok
Copy link

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

@patmood
Copy link
Owner

patmood commented Feb 27, 2024

Thanks I think this is related to #97 and I will fix soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants