Henrik Klee

Results 35 comments of Henrik Klee

Please add this. It's easy to forget adding a `where` clause with `findFirst`. `findUnique` could be just like `findFirst` with required `where` argument

I would love the option to have a db query client that automatically applies a transaction for each query, similar to Prisma's client extensions. ```ts const queryClient = postgres(process.env.DATABASE_URL) export...

Can't wait for PPR! Why did you add `no-store` to `getPage` / `getPages`?

Why is this closed? The issue is still in the code: https://github.com/vercel/commerce/blob/3a18f9a0986db76e2d300a80466276a1040687b1/lib/shopify/queries/collection.ts#L55C1 Unfortunately prettier auto-formats the query in the wrong format. For me the solution was adding `lib/shopify/queries/*` to .prettierignore

Similar issue in the Next [Dashboard App course](https://nextjs.org/learn/dashboard-app): The `Invoices` page is never prefetched, not even its `` fallbacks. The content of the prefetch is ```js 0:["7EGV6vg9n8TEdf9zJaqPA",[["children","dashboard","children","invoices",["invoices",{"children":["__PAGE__",{}]}],null,null]]] ```

> > Hi, I am a bit new to open source development. If I wanted to develop bug fix for this, should I ask permission from maintainer first? > >...

> In the meantime, just posting the script I'm using as a workaround in `package.json` for `{ "type": "module" }`: > > ```json > { > "scripts": > "i18n:compile": "lingui...