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

[Product] Remove channel code from product routes #470

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Jul 18, 2019

No description provided.

@GSadee GSadee requested a review from a team as a code owner July 18, 2019 12:04
@GSadee GSadee force-pushed the remove-channel-code-from-product branch from 2941944 to 98a3f8f Compare July 19, 2019 06:03
new PaginatorDetails($request->attributes->get('_route'), $request->query->all()),
$request->query->get('locale')
), Response::HTTP_OK));
} catch (ChannelNotFoundException $exception) {
throw new NotFoundHttpException('Channel has not been found.');
} catch (\InvalidArgumentException $exception) {
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need to mute all \InvalidArgumentException?

Copy link
Member

Choose a reason for hiding this comment

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

Ok, it is due to old Assert implementation :(

@lchrusciel lchrusciel merged commit 4578c04 into Sylius:master Jul 19, 2019
@lchrusciel
Copy link
Member

Thanks, Grzegorz! 🥇

@GSadee GSadee deleted the remove-channel-code-from-product branch July 19, 2019 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants