Typescript issue on nested queries with clientExtensions feature #17563
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/typescript
Issue for tech TypeScript.
topic: client types
Types in Prisma Client
topic: clientExtensions
Milestone
Bug description
When clientExtensions feature is added to Prisma some nested queries start throwing Typescript errors . For example this nested query below throws an error saying "tenant" is not available on "version" but it should be. The query works just fine without the extension and weirdly enough it works fine even when
take
andorderBy
are omitted from the query.How to reproduce
Expected behavior
It should not throw an error
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: