looking for some advice on creating a type with a ...
# prisma-whats-new
j
looking for some advice on creating a type with a JSON field
n
@jjaybrown98 what are you trying to do?
j
I have a JSON type for field
body
- represents an article body
creating that field and inserting data to it, should JSON.stringify work?
n
I think so, are you already using a variable?
j
yeah, I have a JSON object which I'm passing into the query, just validating it now
"Argument 'body' expected type 'Json!'
even though online validators say it's valid JSON
n
can you show your mutation? 🙂