PR #99 includes the following updates:
Bug Fixes
- Updated the
get_metafieldsmacro to support multiple reference values, ensuring compatibility with both the Shopify GraphQL API (ex: 'PRODUCTVARIANT' from theproduct_variantsource) and the deprecated REST API (previously 'variant' forproduct_variant). See the Shopify API docs for more information.- Updated
reference_valueparameter toreference_valuesto grab lists of reference values rather than a single string value. Now all records fromstg_shopify__metafieldare properly added to the relevant metafield models. - Added
id_columnparameter to explicitly specify what field in the staging model should be joined on to properly unpivot the metafields.
- Updated
Under the Hood
- Updated the
shopify_metafield_dataseed to validate the functionality of theget_metafieldsmacro, ensuring it correctly retrieves metafield data for all supported reference values.
Full Changelog: v0.16.0...v0.16.1