core file [module-quote-graph-ql/Model/Resolver/ApplyCouponToCart.php]
public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null) { ...
My around plugin code in correct namespace...
public function aroundResolve(ApplyCouponToCart $subject, callable $proceed, $cartId, $result, $couponCode) { $result = false;
The Postman error im getting
You're missing to forward those agruments in your around function:
... Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)
You can try:
public function aroundResolve(ApplyCouponToCart $subject, callable $proceed, Field $field, $context, ResolveInfo $info, array $value = null, array $args = null) { ... }
Or if you are not using/modifying the arguments, you could use variadics and argument unpacking to achieve this:
public function aroundResolve(ApplyCouponToCart $subject, callable $proceed, ...$args) { ... }