Exelord/ember-custom-actions

View on GitHub
addon/serializers/json-api.js

Summary

Maintainability
A
55 mins
Test Coverage
import { deprecate } from '@ember/debug';

import DS from 'ember-data';

const { JSONAPISerializer } = DS;

export default JSONAPISerializer.extend({
  init() {
    this._super(...arguments);

    deprecate('Using ember-custom-actions `JSONAPISerializer` is no longer required and this class will be removed.', false, {
      id: 'ember-custom-actions.deprecate-jsonapi-serializer',
      until: '3.0.0'
    });
  },
});