galaxy-hub icon indicating copy to clipboard operation
galaxy-hub copied to clipboard

Fix issue with ParentArticle images resolver

Open NickSto opened this issue 3 years ago • 0 comments

#1692 changes every dynamic page to query for ParentArticles instead of Articles except /careers/. That page breaks when you convert the query to allParentArticle because of an issue with the images metadata field. This issue only comes up here because it's the only dynamic page to make use of the images field.

I think this is a sign that there's an issue with how the images resolver (resolveImages()) interacts with the copied data. We're properly adding resolveImages() to ParentArticle; it's not like we're copying the function or anything, so it's not that.

NickSto avatar Oct 25 '22 19:10 NickSto