We should have a utility function that allows us to mark parts of the API as deprecated and when running in has('debug') logs console.warn with appropriate information on the deprecation.
We already have a use case in that we would like to remove .extend() from compose and instead introduce .override(), but just deleting .extend() at this point would cause too much carnage.
We should have a utility function that allows us to mark parts of the API as deprecated and when running in
has('debug')
logsconsole.warn
with appropriate information on the deprecation.We already have a use case in that we would like to remove
.extend()
from compose and instead introduce.override()
, but just deleting.extend()
at this point would cause too much carnage.