We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
If you suddenly have this error: JSONAPISerializer is not a function, you're probably in the right place. Don't worry, the migration is simple.
JSONAPISerializer is not a function
Before
var JSONAPISerializer = require('jsonapi-serializer'); new JSONAPISerializer(type, data, opts);
Now
var JSONAPISerializer = require('jsonapi-serializer').Serializer; new JSONAPISerializer(type, opts).serialize(data);