v0.3.0 Prisma @angular/forms helpers
@zen/graphql
Prisma helpers released. These really help simplify utilizing @angular/forms
with Prisma.
selectOne(value: any): {id: any}
selectMany(items: any[]): Array<{id: any}>
makeSetObject(data) // Omits `__typename` and `id` properties from an object
makeCreateObject(data) // Makes a Prisma create object from a value object
makeUpdateObject(data) // Makes a Prisma update object from a value object