Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover viewing product associations via API #15028

Merged
merged 1 commit into from May 19, 2023
Merged

Conversation

TheMilek
Copy link
Member

@TheMilek TheMilek commented May 11, 2023

Q A
Branch? 1.13
Bug fix? no
New feature? slighly
BC breaks? no
Deprecations? no
License MIT

Until now, we were able to see all associated products for a given product, including those that were disabled. With the new implementation, only enabled products are displayed when accesing ProductAssociation endpoint

@TheMilek TheMilek added Behat Issues and PRs aimed at improving Behat usage. Shop ShopBundle related issues and PRs. API APIs related issues and PRs. labels May 11, 2023
@TheMilek TheMilek requested a review from a team as a code owner May 11, 2023 12:55
Rafikooo
Rafikooo previously approved these changes May 18, 2023
Comment on lines +52 to +53
$enabled = $queryNameGenerator->generateParameterName('enabled');
$channel = $queryNameGenerator->generateParameterName('channel');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$enabled = $queryNameGenerator->generateParameterName('enabled');
$channel = $queryNameGenerator->generateParameterName('channel');
$enabledParameterName = $queryNameGenerator->generateParameterName('enabled');
$channelParameterName = $queryNameGenerator->generateParameterName('channel');

@GSadee GSadee merged commit e7f0f95 into Sylius:1.13 May 19, 2023
23 checks passed
@GSadee
Copy link
Member

GSadee commented May 19, 2023

Thanks, Kamil! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Behat Issues and PRs aimed at improving Behat usage. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants