Closed drouhard closed 1 year ago
@patocallaghan I think this should help with https://github.com/adopted-ember-addons/ember-data-factory-guy/issues/479. Are you still the right person to review and get this merged?
@drouhard I actually think we can just drop this outright and use Object.assign
everywhere. How about we just do that instead? We're kind of gearing up for a major version bump and I think that will allow us to make this breaking change (drop IE11 support)
Love it. Closing this PR in favor of taking your suggestion, here: https://github.com/adopted-ember-addons/ember-data-factory-guy/pull/481
Purpose
Address deprecation warnings. (See https://github.com/emberjs/rfcs/blob/master/text/0750-deprecate-ember-assign.md)
Fix https://github.com/adopted-ember-addons/ember-data-factory-guy/issues/479
Summary
Follow the suggestion in the deprecation RFC and use a backwards-compatible helper for
assign
that pulls in@ember-polyfill/assign
only when the consumer doesn't haveObject.assign
. (That is, for IE11 users).