I'm not getting the login and signup mutations at ...
# prisma-whats-new
m
I'm not getting the login and signup mutations at the port 4466
m
Not sure how your setup. Are you using graphql-yoga or apollo-server?
@maarteNNNN
Could be one is a direct connection to your Prisma instance/db and the other is your graphql-yoga server which sits in front of Prisma
m
I just created a advanced-node instance
with graphql-yoga by default
m
okay it's what I thought. See my answer above
you won't see login or signup on the Prisma instance
m
So I actually need to use both, one for mutations with authentication the other for the other queires I define?
m
the graphql-yoga api is what you expose to your client / users. You handle auth and permissions in there. The server then calls the Prisma instance for anything relating to the database. You will typically hide the Prisma endpoint from external parties for security purposes
when you query prisma it's like you're directly querying your db as admin