diegohaz / querymen

Querystring parser middleware for MongoDB, Express and Nodejs (MEN)
Other
129 stars 34 forks source link

Solved Custom schema remember previous value #47

Closed agallardol closed 7 years ago

agallardol commented 7 years ago

Solved problem described in https://github.com/diegohaz/querymen/issues/30

Now querymen.middleware(schema) do a deep clone of the base schema, so when you apply modifications to _schema for a query, that do not edit the base schema.

Thanks!!

chemitaxis commented 7 years ago

Hi, why test it's not working? Thanks

chemitaxis commented 7 years ago

Hi @agallardol and @diegohaz I have tested it, but the problem is with the near me options... do you know how to solve it? Thanks.

chemitaxis commented 7 years ago

Hi @diegohaz if you want you can make me contributor and I can close this PR. best.

diegohaz commented 7 years ago

@chemitaxis Sure. Thank you so much for your help. :)

I've sent the invite.

chemitaxis commented 7 years ago

Not passing test, and solved in #49