Parcourir la source

chore(core): Fix type error introduced by entityIdStrategy refactor

Michael Bromley il y a 1 an
Parent
commit
e1595d2a31
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/core/src/config/default-config.ts

+ 1 - 0
packages/core/src/config/default-config.ts

@@ -84,6 +84,7 @@ export const defaultConfig: RuntimeVendureConfig = {
         introspection: true,
         apolloServerPlugins: [],
     },
+    entityIdStrategy: new AutoIncrementIdStrategy(),
     authOptions: {
         disableAuth: false,
         tokenMethod: 'cookie',