You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i create record datum, which has connection to user, i cannot connect it in same mutation where I create it, because nested mutation wants dataId and i dont have that yet, until datum is created.
const req: Request<MutationCreateDatumArgs> = {
mutation: CreateDatum,
variables: {
input:{
userData: {
connectByUserIdAndDataId: [
{
dataId: null, // I dont have this yet
userId: 'Hn67I7nMY9TcBnXsH32UOgFToBf1'
}
]
}
}
}
The text was updated successfully, but these errors were encountered:
When i create record
datum
, which has connection touser
, i cannot connect it in same mutation where I create it, because nested mutation wantsdataId
and i dont have that yet, untildatum
is created.The text was updated successfully, but these errors were encountered: