loopback-rest-include-mixin
v1.2.5
Published
<p align="center"> <a href="https://npmjs.org/package/loopback-rest-include-mixin"> <img src="https://img.shields.io/npm/v/loopback-rest-include-mixin.svg?style=flat-square" alt="NPM Version"> </a>
Downloads
143
Maintainers
Readme
loopback-rest-include-mixin
This module is designed for changing GET /models and GET /models/id to automatically contain related model
Install
npm i -D loopback-rest-include-mixin
or use Yarn
yarn install
Usage
import loopbackRestIncludeMixin from "loopback-rest-include-mixin"
loopbackRestIncludeMixin(modelName, options)
License
MIT © chopperlee