« All deprecation guides

Deprecation Guide for Store.serialize

until: 3.0.0
id: store-serialize

Store.serialize has been deprecated in favor of Model.serialize as part of an effort to reduce duplication and API surface area.

Before:

let post = this.store.peekRecord('post', 123);
this.store.serialize(post);

After:

let post = this.store.peekRecord('post', 123);

post.serialize();