Shopify / hydrogen

Hydrogen lets you build faster headless storefronts in less time, on Shopify.
https://hydrogen.shop
MIT License
1.19k stars 241 forks source link

Fix cart noteUpdate scalar to be required #2008

Closed blittle closed 1 month ago

blittle commented 1 month ago

The storefront api 2024.04 has updated the note parameter in cartNoteUpdate to be required (see here). This is causing an issue with hydrogen/react noteUpdate. I think the fix is changing the scalar here to be non-nullable.

shopify[bot] commented 1 month ago
Oxygen deployed a preview of your bl-fix-note-update branch. Details: Storefront Status Preview link Deployment details Last update (UTC)
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM
subscriptions ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM
skeleton ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM
optimistic-cart-ui ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM
vite ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 2:09 PM

Learn more about Hydrogen's GitHub integration.