This deprecation is being thrown when we use an array of ember-data records as rows:
deprecate.js:131 DEPRECATION: The objectAt method on the class RecordArray is deprecated. Use the native array method at instead. [deprecation id: ember-data:deprecate-array-like] This will be removed in Ember 5.0.
We can convert the record array to a pure JS array to fix the deprecation:
get rows() {
return this.records.slice();
}
Will ember-table handle this internally in the future?
This deprecation is being thrown when we use an array of ember-data records as rows:
deprecate.js:131 DEPRECATION: The
objectAt
method on the class RecordArray is deprecated. Use the native array methodat
instead. [deprecation id: ember-data:deprecate-array-like] This will be removed in Ember 5.0.We can convert the record array to a pure JS array to fix the deprecation:
Will
ember-table
handle this internally in the future?