We upgraded from 4.4 to 4.12 version and set environment.js “EXTEND PROTOTYPES = false” which means than methods for arrays like a .findBy()
.isAny()
etc will be gone. Now we get tons of deprecation messages like:
I’m talking about RFC Deprecate array prototype extensions
For example, we have code const user = this.selectedUsers.findBy("id", someId);
The thing is we have huge ember application and too many places with .findBy()
, .toArray()
, filterBy()
etc which are going to be deprecated in Ember 5.x. We do not want to correct by hand so many places.
Who knows right way how to upgrade my application code accordingly new rules?