Oliver Evans
10/30/2020, 9:14 PMgraphql-nexus
channel:
I'm using nexus & the prisma 2 plugin - I'm wondering if it's possible to access the contents of schema.prisma
from nexus to programmatically expose my types.
Specifically, if I have the following in `schema.prisma`:
model Person {
name String
age Int
}
I would like to construct the following javascript object:
{
name: "String",
age: "Int"
}
Thanks!