Using prisma client, what is the equivalent of `ct...
# orm-help
d
Using prisma client, what is the equivalent of
ctx.request.get('Authorization')
to retrieve the Authorization header ?
n
the auth header has nothing to do with prisma client
h
This is not related to prisma client. When you initialize the apollo/graphql-yoga server, you create the
context
object by putting the prisma-client object and speading the
req
object into
context
.
d
yes ofc
I forgot that 😕
thank you!
🙌 1