My computed field to get the first featured media url appears to be throwing the error:
"[GraphQL] more than one row returned by a subquery used as an expression"
"[GraphQL] more than one row returned by a subquery used as an expression"
It looks to be related to my computed field where I'm trying to get the first featured media url. The error implies it's returning more than one row of results, but I've got a limit 1 in there.
field on shopifyProduct { featuredMedia { file { url: image.originalSrc [limit 1] } }}
field on shopifyProduct { featuredMedia { file { url: image.originalSrc [limit 1] } }}
What have I missed here? Thanks!
EDIT: I'm actually trying to get the url for featuredMedia not the first from all media.