<@U0RQY0KK5> How we can save Json in model I have ...
# prisma-whats-new
p
@nilan How we can save Json in model I have one field with json type I'm creating record using console i'm passing json value like {"name":"John"} Its null at focus out
✅ 1
Any one can help?
Argument 'type' expected type 'Json!' but got: {AtheletTeam: 10}. Reason: Not valid JSON (line 4, column 11):\n type: {AtheletTeam:10}\n ^
mutation { createNotification( userId: "cj32xcep72o920192ey78063a" type: { AtheletTeam:10 } title: "Team Request by Athelet" ) { id } }
n
hey @ppatidar, this is a common question, could you ask it in our forums? https://www.graph.cool/forum/c/development
please don't pin a question of yours in this channel 🙂