You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import type { GlobalContext } from '@redwoodjs/graphql-server'
import { db, getAuthDb } from 'src/lib/db'
/**
* A {@link Plugin Yoga Plugin} which extends the {@link GlobalContext} by adding an authenticated Prisma Client. If a user has not been authenticated (i.e., the application is being accessed anonymously), the client will *not* be extended and will be added as-is.