You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get helper not working on promise proxy arrays #20510
Array prototype extension property firstObject usage is disallowed. Please use Ember's get helper instead. e.g. {{get @list '0'}} (fixable)ember-template-lintno-array-prototype-extensions
Activity
amk221 commentedon Jul 25, 2023
I suppose it may not actually a bug, if I were to use
firstObject.Perhaps it's the lint rule that is wrong?
kategengler commentedon Aug 29, 2023
firstObjectis part of the array prototype extensions that were deprecated in 3.x with https://rfcs.emberjs.com/id/0848-deprecate-array-prototype-extensions/ so the lint is correct.[-][Bug] get helper not working on promise proxy arrays[/-][+]get helper not working on promise proxy arrays[/+]kategengler commentedon Jun 22, 2026
Noting that this is unlikely to be addressed, proxies are set to be deprecated emberjs/rfcs#1135
amk221 commentedon Jun 23, 2026
Happy to close