Make sure `this.data.attributes` is initialized.
Make sure `this.data.attributes` is initialized.

`Object.assign` is not type-safe, and does ensure that the property being assigned to is not undefined.

flarum/core,flarum/core,flarum/core