Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify Functions: Are hasTags and inCollections guaranteed to be in order?

Shopify Functions: Are hasTags and inCollections guaranteed to be in order?

tobebuilds
Shopify Partner
469 34 125

Hi there,

If hasTags and inCollections are guaranteed to be in the order of their inputs, then this means we can reduce our input query complexity by not having to query `hasTags.tag` and `inCollections.collectionId`.

 

Does anyone know if this is the case? If not, can the Functions API docs be updated to mention this?

 

Thanks,

Tobe

Founder, Regios Discounts app (4.8 stars, 64 reviews, Built for Shopify)
- Custom discounts made simple
- "Just about any discount you'll ever need"
- Built by an ex-Google software engineer
Replies 0 (0)