GitHub

provideMagentoDriver

Provider

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

Parameters

Parameteroptions: DaffMagentoDriverConfig | InjectionToken<DaffMagentoDriverConfig>
Description
Parameterfeatures: MagentoDriverFeature[]
Description