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

Move some routing factories into 2 sub-directories #895

Merged

Conversation

loic425
Copy link
Member

@loic425 loic425 commented May 28, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no (it has been added to 1.11 only)
Deprecations? no
Related tickets
License MIT

To improve quality and future maintenance, I split the routing factories into 2 sub-directories.

@loic425 loic425 requested a review from a team as a code owner May 28, 2024 07:21
Copy link
Member

@diimpp diimpp left a comment

Choose a reason for hiding this comment

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

Outside of scope of current PR, it seems some codebase still uses global exception instead of specifalized resource exception.

throw new \RuntimeException(sprintf('No resource was found on the operation "%s"', $operation->getShortName() ?? ''));

@lchrusciel lchrusciel merged commit 9f50383 into Sylius:1.11 Jul 1, 2024
19 checks passed
@lchrusciel
Copy link
Member

Thank you, @loic425!

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.

3 participants