Type of client extended with dynamic extensions
Hi! In Prisma docs they say that to get type of extended client we can use factory function and ReturnType utility as follows:
And this work fine but how I can get client type when the set of extensions is dynamic? I mean the case when extensions are provided as argument to factory function and it cannot by tell explicitly what extensions are ther?
Is this possible to handle such a case with Prisma and TypeScript?
And this work fine but how I can get client type when the set of extensions is dynamic? I mean the case when extensions are provided as argument to factory function and it cannot by tell explicitly what extensions are ther?
Is this possible to handle such a case with Prisma and TypeScript?