Closed DregondRahl closed 3 years ago
I'm getting this error when i start the service "yarn dev" when my table has a json field with postgres db. Is it an apollo types issue?
model Setting { id Int @id @default(autoincrement()) lotExpires Boolean @default(true) lotDisablePeriod Int? @default(5) lotNotification Json? }
You need to add a Json scalar type to your GraphQL resolver https://www.apollographql.com/docs/apollo-server/schema/custom-scalars/
Thanks!
I'm getting this error when i start the service "yarn dev" when my table has a json field with postgres db. Is it an apollo types issue?