Bonjour! So anyone has already tried using lokka t...
# prisma-whats-new
p
Bonjour! So anyone has already tried using lokka to run GraphQL queries within
Functions
? Is there a way to do that “locally”? Like without putting the Graph.cool endpoint and… well have admin rights? 😄
n
@picosam I believe Lokka can't currently be used in our Functions, but you can use
fetch
. And you also need to include the endpoint and permanent auth token in the header 🙂
p
Thank you Nilan, that's what I thought. But if it's this, then it would make more sense in my case do it from an Auth0
Hook
.
n
I think so too 👍