We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd5de0 commit 207a523Copy full SHA for 207a523
src/execution/execution-options.ts
@@ -1,6 +1,6 @@
1
import { OperationDefinitionNode } from 'graphql';
2
import { AuthContext } from '../authorization/auth-basics';
3
-import { randomUUID } from 'crypto';
+import { v4 as uuidv4 } from 'uuid';
4
5
export type MutationMode = 'normal' | 'disallowed' | 'rollback';
6
@@ -180,6 +180,6 @@ export class UUIDGenerator implements IDGenerator {
180
* Generates a random UUID
181
*/
182
generateID(): string {
183
- return randomUUID();
+ return uuidv4();
184
}
185
0 commit comments