Closed gBasil closed 1 year ago
fixed in https://github.com/david-plugge/typed-pocketbase/commit/19bce54b2162757534cd9a436f56c0d36959ab4f (version 0.0.5)
use 0.0.6 instead, the actual record types were still wrong in 0.0.5
Thank you so much for all of the really quick fixes!
Currently, relations seem to only work for Single relations. rather than Multiple relations, as the relation is always singular instead of being an array for Multiple relations.
In other words, instead of being
SomeResponse[]
, the codegen generatesSomeResponse
.