Hi, pardon my crosspost - I thought this channel m...
# prisma-client
o
Hi, pardon my crosspost - I thought this channel might be more appropriate than the
graphql-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`:
Copy code
model Person {
  name String
  age Int
}
I would like to construct the following javascript object:
Copy code
{
  name: "String",
  age: "Int"
}
Thanks!