|
@@ -42,19 +42,26 @@ const entitiesWithCustomFields = enumerate<keyof CustomFields>()(
|
|
|
'Asset',
|
|
'Asset',
|
|
|
'Channel',
|
|
'Channel',
|
|
|
'Collection',
|
|
'Collection',
|
|
|
|
|
+ 'Country',
|
|
|
'Customer',
|
|
'Customer',
|
|
|
|
|
+ 'CustomerGroup',
|
|
|
'Facet',
|
|
'Facet',
|
|
|
'FacetValue',
|
|
'FacetValue',
|
|
|
'Fulfillment',
|
|
'Fulfillment',
|
|
|
'GlobalSettings',
|
|
'GlobalSettings',
|
|
|
'Order',
|
|
'Order',
|
|
|
'OrderLine',
|
|
'OrderLine',
|
|
|
|
|
+ 'PaymentMethod',
|
|
|
'Product',
|
|
'Product',
|
|
|
'ProductOption',
|
|
'ProductOption',
|
|
|
'ProductOptionGroup',
|
|
'ProductOptionGroup',
|
|
|
'ProductVariant',
|
|
'ProductVariant',
|
|
|
- 'User',
|
|
|
|
|
|
|
+ 'Promotion',
|
|
|
'ShippingMethod',
|
|
'ShippingMethod',
|
|
|
|
|
+ 'TaxCategory',
|
|
|
|
|
+ 'TaxRate',
|
|
|
|
|
+ 'User',
|
|
|
|
|
+ 'Zone',
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
const customFieldConfig: CustomFields = {};
|
|
const customFieldConfig: CustomFields = {};
|
|
@@ -236,7 +243,6 @@ describe('Custom field relations', () => {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
it('ProductVariant prices get resolved', async () => {
|
|
it('ProductVariant prices get resolved', async () => {
|
|
|
- debugger;
|
|
|
|
|
const { product } = await adminClient.query(gql`
|
|
const { product } = await adminClient.query(gql`
|
|
|
query {
|
|
query {
|
|
|
product(id: "${productId}") {
|
|
product(id: "${productId}") {
|