core icon indicating copy to clipboard operation
core copied to clipboard

Fix service configuration with isolate = true

Open atiertant opened this issue 7 years ago • 11 comments

no more need to repeat setDefaultLang and use on every service in lazy loaded modules

atiertant avatar May 02 '17 15:05 atiertant

I think this would solve #602 , #444 and #425 so seems like an important fix, could this be reviewed and merged?

mebibou avatar Oct 09 '17 11:10 mebibou

Hmm so what does it change actually? Could I get some tests to make sure that it fixes the problem ?

ocombe avatar Oct 09 '17 12:10 ocombe

@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

mebibou avatar Oct 09 '17 12:10 mebibou

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...)

nickwinger avatar Oct 23 '17 15:10 nickwinger

Once the PR has some tests :)

ocombe avatar Oct 23 '17 15:10 ocombe

so, no tests after 14 days, i guess i will stick with the workaround, or provide my own translation service... thx

nickwinger avatar Oct 23 '17 15:10 nickwinger

Any updates here ?

akarabach avatar Nov 15 '17 09:11 akarabach

This fix would be really welcome

darkurse avatar Dec 05 '17 17:12 darkurse

Guys, are you going to merge this change into the main branch? We could really use this useful change!

devr24 avatar Feb 26 '18 15:02 devr24

can any one please review and merge this pull request.Thanks in Advance.

Krishnakanth94 avatar Mar 25 '20 11:03 Krishnakanth94

Anybody who could resolve the conflict and approve this pr?

JulianSanio avatar Jul 01 '21 14:07 JulianSanio