import { provideMagentoDriver } from '@daffodil/driver/magento'
Sets up the Magento Daffodil driver configuration for Magento's GraphQl API.
Under the hood, this creates an Apollo Client configuration.
function provideMagentoDriver(
options: DaffMagentoDriverConfig | InjectionToken<DaffMagentoDriverConfig>
...features: MagentoDriverFeature[]
): EnvironmentProviders
| Parameter | options: DaffMagentoDriverConfig | InjectionToken<DaffMagentoDriverConfig> |
|---|---|
| Description |
| Parameter | features: MagentoDriverFeature[] |
|---|---|
| Description |