Files
vault/ui/config/deprecation-workflow.js
Chelsea Shaw a9e6704267 UI: Handle some deprecations (#28276)
* don't update the passed object directly
fixes deprecation https://deprecations.emberjs.com/id/setting-on-hash

* replace hasRecordForId with peekRecord -- ember-data:deprecate-has-record-for-id

* fix deprecation ember-data:deprecate-has-record-for-id

* update deprecation workflow
2024-09-17 14:59:01 -05:00

24 lines
843 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
/* global self */
self.deprecationWorkflow = self.deprecationWorkflow || {};
self.deprecationWorkflow.config = {
throwOnUnhandled: false,
};
self.deprecationWorkflow.config = {
// current output from deprecationWorkflow.flushDeprecations();
workflow: [
{ handler: 'silence', matchId: 'ember-engines.deprecation-router-service-from-host' },
// ember-data
{ handler: 'silence', matchId: 'ember-data:deprecate-early-static' },
{ handler: 'silence', matchId: 'ember-data:deprecate-model-reopen' },
{ handler: 'silence', matchId: 'ember-data:deprecate-promise-proxies' },
{ handler: 'silence', matchId: 'ember-data:no-a-with-array-like' },
{ handler: 'silence', matchId: 'ember-data:deprecate-promise-many-array-behaviors' },
],
};