mongodb-js / mongoose-autopopulate

Always populate() certain fields in your mongoose schemas
Apache License 2.0
222 stars 36 forks source link

feat: allows override of maxDepth param via query options #62

Closed jmikrut closed 4 years ago

jmikrut commented 4 years ago

This PR allows you to override the maxDepth option on a query by query basis via query options.

jmikrut commented 4 years ago

No, thank you. I and many others very much appreciate your work.

When can I expect to see this change published to NPM? Looking forward to using it!

vkarpov15 commented 4 years ago

Already released in mongoose-autopopulate@0.10.0 :+1:

jmikrut commented 4 years ago

Hey @vkarpov15 — not meaning to be a pain but I don't believe I am able to see the changes from this PR within 0.10.0.

Just reinstalled the module and do not have changes present. Any idea?

vkarpov15 commented 4 years ago

@jmikrut that's my mistake, I didn't notice this wasn't in 0.10. Will release :+1:

vkarpov15 commented 4 years ago

Just shipped v0.11.0. Sorry for the trouble!