gilsdav / ngx-translate-router

Translate routes using ngx-translate
132 stars 43 forks source link

prevent mutations of localizeRouter.path property #95

Closed rudini closed 4 years ago

rudini commented 4 years ago

I looked at the problem https://github.com/gilsdav/ngx-translate-router/issues/72 again and analyzed it. The problem occurs because the property path is changed on the localizeRouter. If this would be implemented immutable, the error does not occur anymore.

gilsdav commented 4 years ago

Thanks @rudini for this investigation. It looks great 👍