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

Reproduce getting the translation repository by its interface use case #934

Merged

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Sep 11, 2024

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

On 1.12 branch
image

@loic425 loic425 requested a review from a team as a code owner September 11, 2024 08:33
@loic425 loic425 changed the base branch from 1.12 to 1.11 September 11, 2024 08:33
@loic425 loic425 closed this Sep 11, 2024
@loic425 loic425 reopened this Sep 11, 2024

use Sylius\Resource\Model\ResourceInterface;

interface BookTranslationInterface extends ResourceInterface
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
interface BookTranslationInterface extends ResourceInterface
interface BookTranslationInterface extends ResourceInterface, TranslationInterface

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I've noticed that too. The AbstractTranslation already implements that TranslationInterface, so normally it will not change anything but I could change that to reflect better a real use case.

@GSadee GSadee merged commit 543e707 into Sylius:1.11 Sep 11, 2024
19 of 38 checks passed
@GSadee
Copy link
Member

GSadee commented Sep 11, 2024

Thank you, Loïc! 🎉

@loic425 loic425 deleted the reproduce-translation-repository-interface branch September 11, 2024 11:58
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