Showing 1 of 3 total issues
Function serializeAndPush
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function serializeAndPush(this: Model, response: any) {
if (!isDocWithData(response)) {
// tslint:disable-next-line:no-console
console.warn(
'serializeAndPush may only be used with a JSON API document. Ignoring response. ' +