Skip to content

Conversation

@loic425
Copy link
Member

@loic425 loic425 commented Feb 20, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

@loic425 loic425 force-pushed the operation_defaults_trait branch from 7c915c4 to 92ecfbd Compare February 20, 2025 07:21
@loic425 loic425 self-assigned this Feb 21, 2025
}

if (null === $operation->getTwigContextFactory()) {
$operation = $operation->withTwigContextFactory('sylius.twig.context.factory.default');
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated to current PR, but why metadata factory is aware of the service ID? Should be handled via tagging/configuration/interfaces instead.

Comment on lines +24 to +26
/**
* @internal
*/
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
/**
* @internal
*/
/** @internal */

@GSadee GSadee added the DX Issues and PRs aimed at improving Developer eXperience. label Apr 9, 2025
@GSadee GSadee merged commit bd58080 into Sylius:1.13 Apr 9, 2025
13 checks passed
@GSadee
Copy link
Member

GSadee commented Apr 9, 2025

Thank you Loic! 🎉

@loic425 loic425 deleted the operation_defaults_trait branch October 29, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Issues and PRs aimed at improving Developer eXperience.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants