Skip to content

Deprecate call syntax changed in Ember 3.10 #767

@ChristianGreinke

Description

@ChristianGreinke

Deprecate warnings like in materialze-badge.js will break app build starting with ember 3.10 or specifically @ember/application/deprecations v1.0.0 as it is not following the new syntax for options parameter.
see:
deprecate = function deprecate(message, test, options) {
assert(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));
assert(missingOptionsIdDeprecation, Boolean(options!.id));
assert(missingOptionsUntilDeprecation, Boolean(options!.until));

  invoke('deprecate', message, test, options);

};

From my opinion we could just remove these files anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions