mercredi 5 juin 2019

How do I deprecate a feature in my addon?

I am writing an Ember.js Addon, and I need to deprecate a feature. Can I use the same deprecation system that Ember uses? I want my users to be able to silence the warnings.

Ideally, I also need to be able to test that the deprecation message works under the right conditions, from within my test suite.

I'm using Ember 3.x.




Aucun commentaire:

Enregistrer un commentaire