core
core copied to clipboard
Fix service configuration with isolate = true
no more need to repeat setDefaultLang
and use
on every service in lazy loaded modules
I think this would solve #602 , #444 and #425 so seems like an important fix, could this be reviewed and merged?
Hmm so what does it change actually? Could I get some tests to make sure that it fixes the problem ?
@ocombe I don't know if it works, but the idea of not having to sync the children modules with the root one is clearly a good one. As said in my comment on another PR, the current forChild
doesn't work unless we call use(lang)
in every children, then sync lang
changes between root
and children. It's very hard to maintain and doesn't work out of the box
When will this be released ? Currently it doesn't work at all, to merge-load translations with lazy modules (of course you can do a workaround with setTranslation, but the recommended way should of course be via the loader...)
Once the PR has some tests :)
so, no tests after 14 days, i guess i will stick with the workaround, or provide my own translation service... thx
Any updates here ?
This fix would be really welcome
Guys, are you going to merge this change into the main branch? We could really use this useful change!
can any one please review and merge this pull request.Thanks in Advance.
Anybody who could resolve the conflict and approve this pr?