graphql-nexus / nexus-plugin-prisma

Deprecated
MIT License
828 stars 118 forks source link

Json array error #726

Open mufasa71 opened 4 years ago

mufasa71 commented 4 years ago

Json value array throws error

 "JSONObject cannot represent non-object value: [object Object],[object Object],[object Object]"

Looks like its converting to String somehow, could not find related code.

steinathan commented 4 years ago

Also experiencing this issue currently

larskarbo commented 2 years ago

Try using the list.json() type instead. That works if you're passing an array of objects.