Selaa lähdekoodia

docs: Update docs deprecated function (#2296)

oidt 2 vuotta sitten
vanhempi
sitoutus
164ac764f2
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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(),
+  },
   // ...
 }
 ```