macksol
macksol

Reputation: 888

I am having issues handling a couple deprecation warnings in v2.1.0

I can not figure out how to handle these deprecation warnings:

Here is my serializer:

import DS from 'ember-data';

export default DS.RESTSerializer.extend({
  primaryKey: '_id'
});

Upvotes: 0

Views: 27

Answers (1)

locks
locks

Reputation: 6577

I believe you need to specify isNewSerializerAPI: true in your serializer, like shown in http://emberjs.com/blog/2015/06/18/ember-data-1-13-released.html#toc_opt-into-the-new-serializer-api.

Upvotes: 1

Related Questions