-
Hi all, Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you've been building this app for a while, I wonder if the root cause of the error is that your version of Hydrogen is not the latest. Given that Hydrogen as a framework has a direct integration with the Storefront API, breaking changes are inevitable. Perhaps a shift in mindset might help? A shop built in Hydrogen is going to require consistent maintenance work from an engineer to keep it running. In addition, it will be important as a maintainer to stay on-top of deprecation announcements so you can update your shop in advance of the breaking change going live. In other words, a Hydrogen application is never really "done" until it is no longer live. I hope this perspective helps! I suspect you'll be good to go if you go through a process of updating the versions of Hydrogen until you're at latest, and updating your code as specified in the release notes 🙇🏻♂️ |
Beta Was this translation helpful? Give feedback.
-
Hello! Unfortunately, there's no simple way to "click and update" everything in your project. However, there are a few options:
|
Beta Was this translation helpful? Give feedback.
Hello!
It seems that, back when you started your project, Hydrogen was only in developer-preview. It wasn't recommended for production because we were going to make breaking changes before general availability (including changes in the Storefront API).
Unfortunately, there's no simple way to "click and update" everything in your project. However, there are a few options:
Check the Storefront API version you are using in your project. Chances are you are using
unstable
(we used that in earlier versions), and you might be able to make it work by setting a different value. See Storefront API versioning to see existing values and try one that was close to the date when you started your proj…