Files
discourse/app/assets/javascripts/discourse/config/deprecation-workflow.js
David Taylor ab13029479 DEV: Install ember-this-fallback for plugins (#21236)
This will allow us to extend the deprecation period for this-property-fallback beyond Ember 4.x, to give more time for plugin developers to update their templates.
2023-09-04 13:23:20 +01:00

16 lines
679 B
JavaScript

globalThis.deprecationWorkflow = globalThis.deprecationWorkflow || {};
globalThis.deprecationWorkflow.config = {
// We're using RAISE_ON_DEPRECATION in environment.js instead of
// `throwOnUnhandled` here since it is easier to toggle.
workflow: [
{ handler: "silence", matchId: "route-render-template" },
{ handler: "silence", matchId: "route-disconnect-outlet" },
{ handler: "silence", matchId: "this-property-fallback" }, // We can unsilence this once ember-this-fallback works with themes
{
handler: "silence",
matchId: "ember-this-fallback.this-property-fallback",
},
{ handler: "silence", matchId: "discourse.select-kit" },
],
};