You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -121,7 +122,7 @@ public function __construct(private readonly ExpressionLanguage $interpreter) {}
121
122
publicfunctionapplies(array$config): bool
122
123
{
123
124
if (!isset($config['api_type'])) {
124
-
returnfalse;
125
+
thrownewInvalidConfigurationException('Your Sylius API configuration is using some unsupported capacity, check your "api_type" properties to a suitable set.');
@@ -120,7 +121,7 @@ public function __construct(private readonly ExpressionLanguage $interpreter) {}
120
121
publicfunctionapplies(array$config): bool
121
122
{
122
123
if (!isset($config['api_type'])) {
123
-
returnfalse;
124
+
thrownewInvalidConfigurationException('Your Sylius API configuration is using some unsupported capacity, check your "api_type" properties to a suitable set.');
@@ -72,7 +73,7 @@ final class Upsert implements CapacityInterface
72
73
publicfunctionapplies(array$config): bool
73
74
{
74
75
if (!isset($config['api_type'])) {
75
-
returnfalse;
76
+
thrownewInvalidConfigurationException('Your Sylius API configuration is using some unsupported capacity, check your "api_type" properties to a suitable set.');
'Invalid configuration for path "extractor.type": the value should be one of [channels, countries, carts, currencies, customers, exchangeRates, locales, orders, payments, paymentMethods, products, productAttributes, productAssociationTypes, productOptions, promotions, shipments, shippingCategories, taxCategories, taxRates, taxons, users, zones, productReviews, productVariants, promotionCoupons], got "wrong".',
132
+
'Invalid configuration for path "loader.type": the value should be one of [channels, countries, carts, currencies, customers, exchangeRates, locales, orders, payments, paymentMethods, products, productAttributes, productAssociationTypes, productOptions, promotions, shipments, shippingCategories, taxCategories, taxRates, taxons, users, zones], got "wrong".',
0 commit comments