Remove computed-property.override deprecation
See original GitHub issueI see this deprecation since Ember 3.9.0:
DEPRECATION: The <my-app@component:ember-modal-dialog/-tether-dialog::ember4138>#targetAttachmentClass computed property was just overriden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://emberjs.com/deprecations/v3.x#toc_computed-property-override for more details.
I tried to identify where targetAttachmentClass was overridden but I can’t find it 🤷♂
Any clue?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Deprecations Added in Ember 3.x
The private APIs propertyWillChange and propertyDidChange will be removed after the first LTS of the 3.x cycle. ... id: computed-property.override.
Read more >How can I resolve the defineProperty deprecation error?
The problem lies in the if-else-statement at init-method. You want to define the computed property "value" dynamically. This is deprecated!
Read more >Migrating to v7.0.0 - ESLint - Pluggable JavaScript Linter
The CLIEngine class has been deprecated ; static getErrorResults(results), static getErrorResults(results) ; static getFormatter(name), (removed ※1) ; addPlugin( ...
Read more >Is it possible to deprecate and subsequently remove a public ...
You can remove those public properties (enabled with @api decorator) provided you have released a Managed package with isExposed = false.
Read more >Changelog — Sanic 22.12.0 documentation - Read the Docs
BREAKING CHANGE: Moves the Inspector to a Sanic app from a simple TCP socket with a ... #2170 CompositionView deprecated and marked for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m happy to review a PR to fix this but don’t have time to work on one myself currently.
Hi @jameshahn2, the reason for this error is that
targetAttachmentClassis a computed property. If a value is passed in for the property, Ember’s historical behavior is that the passed value would replace the computed function. This is now deprecated, hence the warning. So we need a new way to provide a default value fortargetAttachmentClass. I think that a way to do it would be to make theinitmethod of the component(s) settargetAttachmentClassif and only ifthis.targetAttachmentClassisundefined.