Hey guys, how can I access the `server` mutations ...
# orm-help
m
Hey guys, how can I access the
server
mutations from the seeding script? I want to access the mutations and resolvers we created as opposed to using the
database
ones. Example of accessing the
db
ones:
Copy code
const db: Prisma = new Prisma({
  endpoint: '<http://localhost:4466>',
})

await db.mutation.createUser(...)
could someone provide me with relevant code for accessing the
server
? Do I need
apollo-client
??
s
m
but I want to access both
database
and
API Server
mutations
m
it looks like exactly what I needed! it seems like I wasn't generating the
typescript-client
thanks a lot! 🙂 👍
s
Anytime. Glad it helped you. 🙂