mirror of
https://github.com/directus/directus.git
synced 2026-01-28 01:28:26 -05:00
Add max batch mutation (#17535)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
This commit is contained in:
@@ -38,6 +38,7 @@ export async function applyDiff(
|
||||
const mutationOptions: MutationOptions = {
|
||||
autoPurgeSystemCache: false,
|
||||
bypassEmitAction: (params) => nestedActionEvents.push(params),
|
||||
bypassLimits: true,
|
||||
};
|
||||
|
||||
await database.transaction(async (trx) => {
|
||||
|
||||
@@ -23,6 +23,7 @@ describe('applySnapshot', () => {
|
||||
const mutationOptions = {
|
||||
autoPurgeSystemCache: false,
|
||||
bypassEmitAction: expect.any(Function),
|
||||
bypassLimits: true,
|
||||
};
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user