Tags:
- API
- 2024-01
Shopify Function to uniformly use the GraphQL scalar Handle
As of 2024-01, fields returning a "handle" will use an appropriate Handle scalar as their type, instead of a String. This signals that this type is not just any string, but specifically a handle. This specificity will help prevent bugs that could be caused by unexpected data.
Was this section helpful?