Skip to content

v0.16.1 dbt_shopify

Latest
Compare
Choose a tag to compare
@fivetran-data-model-bot fivetran-data-model-bot released this 05 Feb 18:01
0f418b6

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 the product_variant source) and the deprecated REST API (previously 'variant' for product_variant). See the Shopify API docs for more information.
    • Updated reference_value parameter to reference_values to grab lists of reference values rather than a single string value. Now all records from stg_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.

Under the Hood

  • Updated the shopify_metafield_data seed to validate the functionality of the get_metafields macro, ensuring it correctly retrieves metafield data for all supported reference values.

Full Changelog: v0.16.0...v0.16.1