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
When I already had something in my deprecation-workflow.js but a new deprecation got added, I would like to be able to update my existing config by calling deprecationWorkflow.flushDeprecations(). But this ignores all previous content and just emits a new config.
Actual
The existing config is not taken into account at all. You get the same as if the initial config was empty. throwOnUnhandled is removed, the matching workflow is overridden with defaults (silence instead of log):
When I already had something in my
deprecation-workflow.js
but a new deprecation got added, I would like to be able to update my existing config by callingdeprecationWorkflow.flushDeprecations()
. But this ignores all previous content and just emits a new config.For example I have this:
Now when I run my tests (which hit
deprecate-ember-error
and let's say a new one called 'foo.bar') and calldeprecationWorkflow.flushDeprecations()
...Expected
I would expect the existing workflow entry not to be touched, same as any other config like
throwOnUnhandled
.Actual
The existing config is not taken into account at all. You get the same as if the initial config was empty.
throwOnUnhandled
is removed, the matching workflow is overridden with defaults (silence
instead oflog
):The text was updated successfully, but these errors were encountered: