Преглед изворни кода

docs: Update docs deprecated function (#2296)

oidt пре 2 година
родитељ
комит
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';
 import { UuidIdStrategy, VendureConfig } from '@vendure/core';
   
   
 export const config: VendureConfig = {
 export const config: VendureConfig = {
-  entityIdStrategy: new UuidIdStrategy(),
+  entityOptions: {
+        entityIdStrategy: new UuidIdStrategy(),
+  },
   // ...
   // ...
 }
 }
 ```
 ```