1.0.4 • Published 7 years ago
loopback-custom-delete-mixin v1.0.4
LOOPBACK-CUSTOM-DELETE-MIXIN
Introduction
This is an application for Loopback
Installation
npm install loopback-custom-delete-mixin
Add the mixin to model-config.json : /node_modules/loopback-custom-delete-mixin
Description
This mixin overrides the 'deleteById' function and sets a 'status' property if needed. Deleting an instance now changes the 'status' property to 'DISABLED'
Authors
- Author: Manuel Garcia (manuel.garcia@gnommo.com)