Type Alias ResolverBuilder

ResolverBuilder: {
    build: (prismaModel: Readonly<PrismaModel>) => BuildOutput;
    type: OperationType;
}

A generator used inside of the prisma-to-graphql Prisma generator to create resolvers and all their needed types for each model.

Type declaration

  • build: (prismaModel: Readonly<PrismaModel>) => BuildOutput

    Callback that builds the resolver code.

  • type: OperationType