You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a fair point, but if we make this a dynamic import we will lose intellisense on e.g. VSCode, which makes it a lot more difficult to use the resources.
If they ever fall out of sync, that won't break anything - it will just log a message reminding the developer that they should update their import statement, but it will continue to use 2023-04 for the resources so the code will continue to work the same way until the app is ready to be migrated.
Since this is working as intended, I'll close the issue. Please do report to us if this ever causes any problems while developing!
I believe restResources import should be dynamic just like the first import that uses LATEST_API_VERSION, otherwise it may cause a conflict one day.
shopify-app-template-node/web/shopify.js
Lines 1 to 4 in 57de24b
The text was updated successfully, but these errors were encountered: