feat(hydrogen-react): add article_reference metafield type support#3407
Merged
feat(hydrogen-react): add article_reference metafield type support#3407
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
|
Oxygen deployed a preview of your
Learn more about Hydrogen's GitHub integration. |
fredericoo
approved these changes
Jan 26, 2026
04f9469 to
6b7fd54
Compare
bce6ffc to
fb9135a
Compare
5 tasks
This was referenced Jan 27, 2026
7327d10 to
24d26ad
Compare
Storefront API 2025-10 introduces article_reference and list.article_reference metafield types, allowing merchants to reference blog articles in metafields. This adds parsing support following the exact pattern established by page_reference: - Switch cases for single and list reference parsing - Type definitions (ArticleParsedRefMetafield, ArticleListParsedRefMetafield) - Entries in allMetafieldTypesArray and ParsedMetafields - Article added to MetafieldReference union type - Tests for both single and list variants
6b7fd54 to
b79b6fc
Compare
Base automatically changed from
01-20-chore_document_updated_cartdeliveryaddressesupdate_empty_array_behavior
to
main
January 27, 2026 17:22
Merged
This was referenced Feb 6, 2026
Closed
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
Storefront API 2025-10 introduces
article_referenceandlist.article_referencemetafield types, allowing merchants to reference blog articles in metafields. This PR adds the corresponding parsing support in@shopify/hydrogen-react.WHAT is this pull request doing?
Adds
article_referenceandlist.article_referencemetafield type support to theparseMetafield()utility, following the established pattern used bypage_reference.HOW to test your changes?
N/A - tested by CI
Checklist