Closed mrbatista closed 8 years ago
Thank you for your contribution @mrbatista . I have included your updates, although I'd really like to get some tests cases for this in place. I've created a new branch in which I have tried to add tests to provide the mixin support works, although I haven't been sucessful yet.
The branch is at https://github.com/fullcube/loopback-ds-readonly-mixin/tree/mixinsources
You can run the tests like so:
DEBUG=loopback-ds-readonly-mixin ./node_modules/.bin/mocha -R spec --timeout 10000 test/test-server.js
I haven't used the mixin sources route yet so perhaps I'm doing something wrong. Would you mind taking a quick look and see what I'm missing? Thanks!
@mrfelton See pull request #3
-Added support to mixinsSources. -Print deprecate warning if define mixins in boot script.