-
Notifications
You must be signed in to change notification settings - Fork 51
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
{{#each-in}} breaks if used with a Map #645
Comments
Neither the Guides nor the API docs suggest that |
The guides and api docs are underspecified. It makes sense that you'd want to allow all iterables, and each/each-in do work with all iterables |
Support was added in Ember 3.2.0. It was considered a bug fix. Please find details in the changelog: https://github.com/emberjs/ember.js/blob/main/CHANGELOG.md#v320-may-31-2018 |
In that case a PR to account for the behavior would be welcome
Given that the guides talk about |
The value of
{{#each-in}}
has an unexpected type if being used with aMap
. Even trying to render the value in the template throws an error.Simple reproduction:
Please note that it is working fine if using a POJO instead of a
Map
.typescript: 5.2.2
@glint/template: 1.2.1
The text was updated successfully, but these errors were encountered: