pocketbase-typegen icon indicating copy to clipboard operation
pocketbase-typegen copied to clipboard

UserResponse is never

Open Brentlok opened this issue 1 year ago • 1 comments

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

Brentlok avatar Jan 19 '24 19:01 Brentlok

Thanks I think this is related to https://github.com/patmood/pocketbase-typegen/issues/97 and I will fix soon

patmood avatar Feb 27 '24 09:02 patmood