Custom discounts are overwriting other discounts settings

@Liam-Shopify - I don’t believe this is correct, and I think there’s a misunderstanding here.

When you create the ‘backend’ of a discount, you must know the key in advance:

This is an input gql file which is uploaded in a bundle to Shopify alongside the WASM, so you cannot use a dynamic value as a key (it must be some static value).

The metafield namespace: $app:progress-discount, key: configuration will have unique instances PER discount, as they belong to that resource. This is not a global instance (or similar).

I’m going to DM you some additional information, but I think the issue described here is a likely side effect of the issue described here: Admin UI Extension not re-rendering and not updating data on Discount Navigation - #14 by Liam-Shopify , where it appears some client side cache around UI extensions is the root cause of the issue.