mers
mers copied to clipboard
Mongoose Express Rest Service
Package.json has the Mongoose version set to `3.8.21` in `peerDependencies` and `^4.0.0` in dependencies. The peer dependencies was blocking me from installing `[email protected]`
Restify?
Does mers work with restify as well? If not, does it rely heavily on express only functionality?
Looks like this piece of code isn't throwing errors from Mongoose if they happen. https://github.com/jspears/mers/blob/master/lib/routes.js#L246
Hey there, just flagging this for you that Express 4 deprecated app.del in favor of app.delete. Just gives me an annoying warning message, otherwise still works. ``` express: app.del: Use...
Something like this: ``` /api/user?query={"$and":[{"field":"~value"},{"field":"!=value"}]} ``` I'd like to be able to write my logic mainly on the client, rather than dealing with finders. Is this a feature you are...
I was digging in the code and it appears that the ?populate feature will only work on top level documents. For example I have a Collection that contains 2 levels...
I'm using version 0.7.1-0, though I can see the same problem will probably occur with the master branch. Basically, I put a data change through that I know will not...
Hi, I tried mers in my project: `app.use('/rest', mers({..}).rest())` ...But when I visit `/rest/none` where `none` is an unknown schema, I get error: ``` 500 MissingSchemaError: Schema hasn't been registered...
Is mers handling POST, PUT, PATCH, DELETE methods ? I set mongoose in debug mode, and when sending a PUT request, nothing at all happens.
Hello, I'm wondering what I'm doing wrong, I want to GET a model by its id. Doing http://localhost:3000/model correctly returns all model but when I call GET http://localhost:3000/model/521bd88c08b986f811000004 it prompts...