GitHub

provideDaffProductMagentoExtraProductPageFragments

Provider

import { provideDaffProductMagentoExtraProductPageFragments } from '@daffodil/product/driver/magento'

Provides extra GraphQL fragments for the Magento product driver.

See DAFF_PRODUCT_MAGENTO_EXTRA_PRODUCT_PAGE_FRAGMENTS.

function provideDaffProductMagentoExtraProductPageFragments<R extends T = T>(...values: R[]): Array<ValueProvider>

Parameters

Parametervalues: R[]
Description

Examples

providers: [
  ...provideDaffProductMagentoExtraProductPageFragments(
    myExtraProductFragment
  )
]

providers: [
  ...provideDaffProductMagentoExtraProductPageFragments(
    myExtraProductFragment
  )
]