prisma1
prisma1 copied to clipboard
how to add id in othe schema relation
mutation{ createUserDetails( firstName:"naveen" secondName:"ramesh" mobileNum:"95538719489" email:"[email protected]" password:"123456"
cities:[
{
id:"cjakni4db45on0130fk249eko"
}
]){
id
firstName
secondName
mobileNum
email
password
citieses{
id
}
}
}
Hey @nareshvarun, I'm not quite sure what you mean with this. I believe your use case is covered in the improve nested mutation API: https://github.com/graphcool/framework/issues/1280. Would love to hear your feedback there! 🙌