Просмотр исходного кода

docs: Update docs deprecated function (#2296)

oidt 2 лет назад
Родитель
Сommit
164ac764f2
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      docs/content/deployment/production-configuration/index.md

+ 3 - 1
docs/content/deployment/production-configuration/index.md

@@ -91,7 +91,9 @@ For this reason you should consider using the UuidIdStrategy for production.
 import { UuidIdStrategy, VendureConfig } from '@vendure/core';
   
 export const config: VendureConfig = {
-  entityIdStrategy: new UuidIdStrategy(),
+  entityOptions: {
+        entityIdStrategy: new UuidIdStrategy(),
+  },
   // ...
 }
 ```