Hi, I am working on an extension only automatic discount app.
When creating my discount via the graphql app in the admin dashboard I want to be able to throw or return an error to the user if one of the metafields I require is missing. This is more so a validation than a check, there is a further check in the code that it is there but realistically I want to prevent the automatic discount being created if my metafield is missing.
As a note I am using a DiscountNode metafield.