pzuraq / macro-decorators

Decorators for getter/setter macros!
https://pzuraq.github.io/macro-decorators/
MIT License
62 stars 10 forks source link

@empty and @notEmpty are not compatible with ember-data array-like objects #31

Open sly7-7 opened 3 years ago

sly7-7 commented 3 years ago

Hi, I'm migrating away from '@ember/computed/(not)empty', and I realize that for ember-data's array-like (in my example a ManyArray), the underlying isEmpty() helper used in this addon, returns always false, because Array.isArray(manyArrayInstance) returns false.

It's more a question than a real issue.