GitHub

provideDaffProductMagentoExtraProductPreviewFragments

Provider

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

Provides extra GraphQL fragments for the Magento product preview query.

See DAFF_PRODUCT_MAGENTO_EXTRA_PRODUCT_PREVIEW_FRAGMENTS.

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

Parameters

Parametervalues: R[]
Description

Examples

providers: [
  ...provideDaffProductMagentoExtraProductPreviewFragments(
    myExtraProductPreviewFragment
  )
]

providers: [
  ...provideDaffProductMagentoExtraProductPreviewFragments(
    myExtraProductPreviewFragment
  )
]