lux
lux copied to clipboard
Build scalable, Node.js-powered REST JSON APIs with almost no code.
Just fixed a typo in a comment :)
Have you considered switching from fb-watchman, which is made by Facebook; to Chokidar, which VS Code uses by itself? The switch will ensure there's one less native dependency, which means...
In the case of a belongsTo hasOne relationship Lux attempts to update/overwrite the belongsTo FK. For new records (CREATE) however, this has the side effect of (at least with postgres)...
* **Platform**: Darwin Joshs-MacBook-Pro-2.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64 * **Database**: sqlite * **Lux Version**: 1.2.3 * **Node Version**: v10.15.3 The guides...
Addresses known vulnerabilities by running [`npm audit`](https://docs.npmjs.com/cli/audit).
After https://github.com/postlight/lux/pull/713 was merged, this made it impossible to return any meaningful error messages when desired. This PR adds a rudimentary way to specifically allow a message detail by including...
fixes #640
* **Platform**: macOS 10.14 * **Database**: postgres 9.6 * **Lux Version**: 1.2.3 * **Node Version**: 11 Having two models with a hasOne belongsTo relationship, when creating the model which has...
Falsy ID's like 0 were not being accounted for.
The `count` method in the query class did not account for whereRaw and whereBetween queries setting incorrect pagination numbers (total) in the JSONAPI response. This broke, for example, using a...