You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Service injections that rely on the property key reflection don't work, if that key is camelCase, because the glimmer-resolver does not provide a normalize method.
buschtoens
changed the title
MU resolver does not convert camelCase to kebap-case for has check```
MU resolver does not convert camelCase to kebap-case for has check
Dec 20, 2018
Basically a reprise of #195. Originally reported as ember-decorators/ember-decorators#337.
Service injections that rely on the property key reflection don't work, if that key is camelCase, because the
glimmer-resolver
does not provide anormalize
method.@ember/-internals/container/registry#validateInjections
@ember/-internals/container/registry#has
@ember/-internals/container/registry#normalizeFullName
Because of this, the raw specifier is just passed through as is, and
has
fails.validateInjections
is stripped from prod builds and since the actual resolution works successfully (#206), this does not fail in production./cc @lolmaus @simonihmig
The text was updated successfully, but these errors were encountered: