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

DEPRECATION: The <(unknown):ember362>#host computed property was just overridden. #2340

Open
rahulk94 opened this issue Nov 18, 2021 · 0 comments

Comments

@rahulk94
Copy link

When using ember-simple-auth@4.0.2 with ember-cli-fastboot (applies to both v2 and v3 betas) I am seeing the following deprecation warning in my terminal window. It appears to come from ember-simple-auth (though I could be wrong here)

DEPRECATION: The <(unknown):ember362>#host computed property was just overridden. 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://deprecations.emberjs.com/v3.x#toc_computed-property-override for more details.
        at logDeprecationStackTrace (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/deprecate.js:119:1)
        at HANDLERS.<computed> (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/handlers.js:26:1)
        at raiseOnDeprecation (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/deprecate.js:146:1)
        at HANDLERS.<computed> (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/handlers.js:26:1)
        at handleDeprecationWorkflow (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/vendor/ember-cli-deprecation-workflow/main.js:43:1)
        at HANDLERS.<computed> (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/handlers.js:26:1)
        at deprecationCollector (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/vendor/ember-cli-deprecation-workflow/main.js:78:1)
        at HANDLERS.<computed> (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/handlers.js:26:1)
        at invoke (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/handlers.js:38:1)
        at deprecate (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/debug/lib/deprecate.js:220:1)
        at ComputedProperty.clobberSet (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/-internals/metal/index.js:2025:1)
        at ComputedProperty.set (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/-internals/metal/index.js:1969:1)
        at Class.CPSETTER_FUNCTION [as host] (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/@ember/-internals/metal/index.js:1038:1)
        at ApplicationRoute.beforeModel (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/reconz-user/routes/application.js:45:1)
        at /var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/addon-tree-output/ember-simple-auth/initializers/setup-session-restoration.js:25:1
        at invokeCallback (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/rsvp.js:493:1)
        at publish (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/rsvp.js:476:1)
        at publishRejection (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/rsvp.js:412:1)
        at /var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/ember-testing/lib/ext/rsvp.js:19:1
        at invokeWithOnError (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/backburner.js:347:1)
        at Queue.flush (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/backburner.js:229:1)
        at DeferredActionQueues.flush (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/backburner.js:426:1)
        at Backburner._end (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/backburner.js:958:1)
        at Backburner._boundAutorunEnd (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/backburner.js:627:1)
        at run (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/vendor/babel-polyfill/polyfill.js:4536:1)
        at /var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/vendor/babel-polyfill/polyfill.js:4553:1
        at flush (/var/folders/_b/525y2kfj6sg6l_gbcnf29qsm0000gp/T/broccoli-28242DCp1yEq9h6BB/out-794-append_ember_auto_import_analyzer/assets/vendor/babel-polyfill/polyfill.js:1665:1)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)

Is this happening with others using ember-simple-auth? And/or is this something we could get fixed if it is from this project?

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

No branches or pull requests

1 participant