PR #99 includes the following updates:
Bug Fixes
- Updated the
get_metafields
macro to support multiple reference values, ensuring compatibility with both the Shopify GraphQL API (ex: 'PRODUCTVARIANT' from theproduct_variant
source) and the deprecated REST API (previously 'variant' forproduct_variant
). See the Shopify API docs for more information.- Updated
reference_value
parameter toreference_values
to grab lists of reference values rather than a single string value. Now all records fromstg_shopify__metafield
are properly added to the relevant metafield models. - Added
id_column
parameter 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_data
seed to validate the functionality of theget_metafields
macro, ensuring it correctly retrieves metafield data for all supported reference values.
Full Changelog: v0.16.0...v0.16.1