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

object-inspector-test: fix legacy-attribute-arguments issue #1991

Merged
merged 1 commit into from
Apr 28, 2022
Merged

object-inspector-test: fix legacy-attribute-arguments issue #1991

merged 1 commit into from
Apr 28, 2022

Conversation

geneukum
Copy link
Contributor

Description

Right now, when we run the 'Views are correctly handled when destroyed
during transitions' test from the 'Ember Debug - Object Inspector'
suite, there is a deprecation logged along the lines of:

Passing the `@class` argument to <Input> is deprecated. Instead,
please pass the attribute directly, i.e. `<Input class={{...}} />`
instead of `<Input @class={{...}} />` or `{{input class=...}}`.

Let's fix this deprecation by preferring angle bracket syntax for the
input component. This will help avoid having an unnecessary deprecation
show up in the test output.

Screenshots

n/a

Right now, when we run the 'Views are correctly handled when destroyed
during transitions' test from the 'Ember Debug - Object Inspector'
suite, there is a deprecation logged along the lines of:

    Passing the `@class` argument to <Input> is deprecated. Instead,
    please pass the attribute directly, i.e. `<Input class={{...}} />`
    instead of `<Input @Class={{...}} />` or `{{input class=...}}`.

Let's fix this deprecation by preferring angle bracket syntax for the
input component. This will help avoid having an unnecessary deprecation
show up in the test output.
@RobbieTheWagner RobbieTheWagner merged commit 9fe5fcc into emberjs:master Apr 28, 2022
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
…1991)

Right now, when we run the 'Views are correctly handled when destroyed
during transitions' test from the 'Ember Debug - Object Inspector'
suite, there is a deprecation logged along the lines of:

    Passing the `@class` argument to <Input> is deprecated. Instead,
    please pass the attribute directly, i.e. `<Input class={{...}} />`
    instead of `<Input @Class={{...}} />` or `{{input class=...}}`.

Let's fix this deprecation by preferring angle bracket syntax for the
input component. This will help avoid having an unnecessary deprecation
show up in the test output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants