ember-cli-deprecation-workflow icon indicating copy to clipboard operation
ember-cli-deprecation-workflow copied to clipboard

id: ember-global deprecation is not silenced

Open snewcomer opened this issue 3 years ago • 2 comments

This seems like a timing issue in tests. Have both of these in the config file.

		{ handler: 'silence', matchId: 'ember-global' }, 
		{ handler: 'silence', matchMessage: /Usage of the Ember Global is deprecated/ },

Screen Shot 2021-11-11 at 11 31 28 AM

snewcomer avatar Nov 11 '21 17:11 snewcomer

I'm not sure this is enough to trivially reproduce the issue. There isn't anything special about the global deprecation matcher. It should be easy to triage in your application if the deprecation handler code path is being hit at all.

mixonic avatar Jan 27 '22 14:01 mixonic

It seems all of the deprecation messages generated here, which we can collectively refer to as "build time deprecations", aren't silenced / thrown if referenced in the deprecation workflow file.

https://github.com/emberjs/ember.js/blob/master/lib/index.js#L66-L134

Gaurav0 avatar Aug 05 '22 14:08 Gaurav0