|
@@ -106,10 +106,11 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo
|
|
|
} = this.configService.shippingOptions;
|
|
} = this.configService.shippingOptions;
|
|
|
const { customPaymentProcess, process: paymentProcess } = this.configService.paymentOptions;
|
|
const { customPaymentProcess, process: paymentProcess } = this.configService.paymentOptions;
|
|
|
const { entityIdStrategy: entityIdStrategyDeprecated } = this.configService;
|
|
const { entityIdStrategy: entityIdStrategyDeprecated } = this.configService;
|
|
|
- const { entityIdStrategy } = this.configService.entityOptions;
|
|
|
|
|
|
|
+ const { entityIdStrategy: entityIdStrategyCurrent } = this.configService.entityOptions;
|
|
|
const { healthChecks, errorHandlers } = this.configService.systemOptions;
|
|
const { healthChecks, errorHandlers } = this.configService.systemOptions;
|
|
|
const { assetImportStrategy } = this.configService.importExportOptions;
|
|
const { assetImportStrategy } = this.configService.importExportOptions;
|
|
|
const { refundProcess: refundProcess } = this.configService.paymentOptions;
|
|
const { refundProcess: refundProcess } = this.configService.paymentOptions;
|
|
|
|
|
+ const entityIdStrategy = entityIdStrategyCurrent ?? entityIdStrategyDeprecated;
|
|
|
return [
|
|
return [
|
|
|
...adminAuthenticationStrategy,
|
|
...adminAuthenticationStrategy,
|
|
|
...shopAuthenticationStrategy,
|
|
...shopAuthenticationStrategy,
|
|
@@ -127,8 +128,7 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo
|
|
|
checkoutMergeStrategy,
|
|
checkoutMergeStrategy,
|
|
|
orderCodeStrategy,
|
|
orderCodeStrategy,
|
|
|
orderByCodeAccessStrategy,
|
|
orderByCodeAccessStrategy,
|
|
|
- entityIdStrategyDeprecated,
|
|
|
|
|
- ...[entityIdStrategy].filter(notNullOrUndefined),
|
|
|
|
|
|
|
+ entityIdStrategy,
|
|
|
productVariantPriceCalculationStrategy,
|
|
productVariantPriceCalculationStrategy,
|
|
|
productVariantPriceUpdateStrategy,
|
|
productVariantPriceUpdateStrategy,
|
|
|
orderItemPriceCalculationStrategy,
|
|
orderItemPriceCalculationStrategy,
|