magento / magento/inventory

IsSalableOptionPlugin afterGetUsedProducts is not getting called

Open
#3,397 1 comment 0 reactions 0 assignees View on GitHub
Progress: ready for grooming
Dominant language
PHP
Stars
357
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### Preconditions (*)

1. 2.4.4-p1

### Steps to reproduce (*)

1. The plugin is not added for GQL
````



````
2. It should be added to `https://github.com/magento/inventory/blob/develop/InventoryConfigurableProduct/etc/graphql/di.xml`

### Expected result (*)

1. Plugin should be called while doing GQL query for a configurable product

### Actual result (*)

1. Plugin is not called

Contributor guide

Open the contributing guide

Research direction

Start with InventoryConfigurableProduct/etc/graphql/di.xml and the IsSalableOptionPlugin configuration shown in the report. Reproduce the configurable-product GraphQL query, trace whether afterGetUsedProducts is reached, and verify that the plugin is called during that query.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, php
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.