Transferring gadget images to shopify file

@Chocci_Milk Hi, we recently had a call about reducing request time by using the shopifyFileCreate to add files to shopify instead of hosting them on gadget. I have everything implemented but I ran across an issue. I am unable to run the fileCreate mutations on the existing stores because I did not previously have the file_write access scope on.
1 Reply
Chocci_Milk
Chocci_Milk4w ago
Hello, I suppose that you'll need to move the logic over in two steps. You need to send out an email to all the shop owners to reinstall your application and give them a deadline. Something like what we do when we make big breaking changes (v0 -v1 for example) Once 90-95% of merchants have updated, you can change the logic. Otherwise, you should use a tool to implement feature flags and implement the change as a feature flag for people that have the required scopes You could probably find a way to make a feature flaggy setup without using a tool though

Did you find this page helpful?