Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ember.copy deprecation warnings #834

Closed
bgentry opened this issue Jul 24, 2018 · 1 comment
Closed

Ember.copy deprecation warnings #834

bgentry opened this issue Jul 24, 2018 · 1 comment
Labels

Comments

@bgentry
Copy link
Contributor

bgentry commented Jul 24, 2018

Using the ember-inspector on my v3.3 app spews an endless series of Ember.copy deprecation warnings:

15:00:44.656 telemetry.js:357 DEPRECATION: Use ember-copy addon instead of copy method and Copyable mixin. [deprecation id: ember-runtime.deprecate-copy-copyable] See https://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable for more details.
        at logDeprecationStackTrace (http://localhost:4200/assets/vendor.js:17354:29)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:17456:17)
        at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:17378:17)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:17456:17)
        at invoke (http://localhost:4200/assets/vendor.js:17465:17)
        at deprecate (http://localhost:4200/assets/vendor.js:17437:34)
        at copy (http://localhost:4200/assets/vendor.js:52794:47)
        at Class.updateOrCreate (<anonymous>:1978:22)
        at Class.fulfill (<anonymous>:1992:26)

Screenshot

screen shot 2018-07-24 at 3 00 49 pm

Might be as simple as just changing to import for this line to use ember-copy?

@bgentry
Copy link
Contributor Author

bgentry commented Jul 24, 2018

Hopefully #835 is a suitable fix! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants