GitHub

provideDaffProductMagentoExtraProductFragments

const

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

Provides extra GraphQL fragments for the Magento product driver.

See DAFF_PRODUCT_MAGENTO_EXTRA_PRODUCT_FRAGMENTS.

const provideDaffProductMagentoExtraProductFragments: <R extends any = any>(...values: R[]) => ValueProvider[]

Examples

providers: [
  ...provideDaffProductMagentoExtraProductFragments(
    myExtraProductFragment
  )
]

providers: [
  ...provideDaffProductMagentoExtraProductFragments(
    myExtraProductFragment
  )
]