feat: merge records (#13436)

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
neo773
2025-07-31 15:36:36 +05:30
committed by GitHub
parent 00d12e854a
commit 06e0814ce8
45 changed files with 2047 additions and 29 deletions
@@ -145,6 +145,22 @@ export const getResolverArgs = (
isNullable: false,
},
};
case 'mergeMany':
return {
ids: {
type: UUIDScalarType,
isNullable: false,
isArray: true,
},
conflictPriorityIndex: {
type: GraphQLInt,
isNullable: false,
},
dryRun: {
type: GraphQLBoolean,
isNullable: true,
},
};
default:
throw new Error(`Unknown resolver type: ${type}`);
}