Help with helper utils
@Raphaël M (@rphlmr) ⚡ I wanted to use use snippets for jsonAggBuildObject but unfortunately I am getting some ts error. https://gist.github.com/rphlmr/0d1722a794ed5a16da0fdf6652902b15?permalink_comment_id=5009839#file-clear-db-ts
8 Replies
Is it the latest Drizzle ?
You can remove the generics (for previous versions)
I am using 0.32, its almost the latest. But is that okay?`
@Raphaël M (@rphlmr) ⚡
Latest is 0.35. In your screenshot you should extend like in the gist to keep inference
@Raphaël M (@rphlmr) ⚡Now I am on the latest version. I tried that but for some reason I am getting
Type 'SelectedFields' is not generic.
error. Could u maybe provide assistance here to solve the type problemhttps://drizzle.run/se2noay5mhdu24va3xhv0lqo
look at utils tab. I published it few days ago.
(I am not at home right now :/)
Drizzle Run
Split aggregate queries - Drizzle Run
If you are on vscode try to restart it. Mine is totally broken when I update packages. I always have to restart the typescript server 🤦♂️