-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translator] move loading catalogue out of Translator. #16286
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
Conversation
@symfony/deciders |
I'm ok with the decoupling but hadn't had time to review the PR. |
* | ||
* @author Abdellatif Ait boudad <a.aitboudad@gmail.com> | ||
*/ | ||
class ResourceMessageCatalogueProvider implements MessageCatalogueProviderInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about just MessageCatalogueProvider
as this is really the default implementation that almost everyone is going to use, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I'll rename ContainerAwareResourceMessageCatalogueProvider
too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
452c426
to
5d66f84
Compare
Even though this PR is rather big and my understanding of the changes minimal, I like what I see here. If possible I would indeed like to see this in 2.8 so it prevents a big BC layer scattered around for a while. I'm really happy to see the framework translator go, it was a pretty confusing setup and might inspire the router to be decoupled like that in the future as well. |
Are there major differences to #14671? We've already had a lot of discussion and suggestions there. |
5d66f84
to
7be546f
Compare
@aitboudad Now that 3.0 is out, what about this one? |
see #17563, it only needs to be reviewed |
Before
After