I am developing Shopify Functions and have a question.
Is it possible to have more than one extension using the same API?
For example, can I have two extensions that use the Payment Customization API, one of which hides a certain payment method and the other changes the name of the payment method? Or do I need to do both in one extension?
Experimentally I tried to deploy two Payment Customization API functions in one app to my partner’s development store with “npm run deploy”, then it fails with a following error.
error[E0574]: expected struct, variant or union type, found enum
output::Operation.
I can’t figure out the cause of this error alone, but I suspect this is an error due to the multiple extensions in same API.
If these limitations are mentioned anywhere in the Shopify documentation, I would like to know where it is as well.