runtime $settings
not exported from nexus-prisma
#57
Labels
type/bug
Something is not working the way it should
$settings
not exported from nexus-prisma
#57
Screenshot
Description
Apologies if i'm missing something
Was seeing this error being thrown for a nested resolver
'Prisma client not found in context. Set a Prisma client instance to 'prisma' field of Nexus context'
Looking into it & after seeing the docs were updated to say you could customise the
prismaClientContextField
using $settings, but I'm seeing this error when tryingHad a look into it & also noticed this, should that also be
if (!ctx[settings.runtime.data.prismaClientContextField])
(once its configurable that is)?The text was updated successfully, but these errors were encountered: