Shopify / theme-tools

Everything developer experience for Shopify themes
https://shopify.dev/docs/themes
MIT License
80 stars 24 forks source link

Don't do snippet/asset rename refactors when the client doesn't support it #580

Closed charlespwd closed 2 weeks ago

charlespwd commented 2 weeks ago

What are you adding in this PR?

I specifically chose to do it in each handler because I don't know what kind of stuff we'll do in rename handlers and I'm not sure I can guarantee that we'll always do workspace/applyEdit requests in them.

I made that kind of assumption in execute command and it makes writing different providers/handlers complicated for no good reason.

Fixes #579

Before you deploy