Open Aragur opened 9 months ago
I think in general the id field needs to be added to all the collection types.
@Aragur could you provide steps to reproduce this? Eg what is the query for your view collection? Could you also provide the generated type definition for MainDataCountRecord
?
id
is already part of BaseSystemFields
so it should be part of all responses.
Describe the bug My view collection has only an ID field, as this returns a public count of entries. This was generated by typegen:
Accessing the ID field doesn't work with following error:
Versions pocketbase-typegen version: 1.2.1 pocketbase version: 0.21.1