-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When I do execute these serial operations:
await deep.serial({
operations: [
{
table: 'strings',
type: 'update',
exp: {
link_id: 5663
},
value: {
value: "HiWorld"
}
},
{
table: 'strings',
type: 'update',
exp: {
link_id: 5671
},
value: {
value: "HiWorld"
}
},
],
});
It gets full info including aliases
mutation Name($_set0: strings_set_input, $where0: strings_bool_exp!, $_set1: strings_set_input, $where1: strings_bool_exp!) {
m0: update_strings(_set: $_set0, where: $where0) {
returning {
id
__typename
}
__typename
}
m1: update_strings(_set: $_set1, where: $where1) {
returning {
id
__typename
}
__typename
}
}
but serial
ignores it:
Line 850 in dfa515a
return { ...result, data: (result)?.data && Object.values((result)?.data).flatMap(m => m.returning)}; |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
In Progress