loopback-disabler-mixin
v1.0.0
Published
This is a loopback 3 mixin I find myself using every now and then. Probably not a good one but whatever.
Downloads
3
Maintainers
Readme
Loopback Disabler Mixin
This loopback middleware is an easyish way to disable common remote methods
Useage
Install
npm i loopback-disabler-mixin --save
Integrate with Loopback
Include the mixin in your model-config.json
file
{
"mixins": [
"../node_modules/loopback-disabler-mixin"
]
}
Then add the mix in to your model.json
file
"mixins": {
"Disabler": {
"type": "relation | model | limited",
"relation": "RELATION NAME"
}
},