These are chat archives for Automattic/mongoose

22nd
Jan 2018
Mohamed-Abubucker
@Mohamed-Abubucker
Jan 22 2018 13:51
hi!, anyone could you help to getter in mongoosejs?
i coded to modify the value of one path in schema using getter. i followed mongoose documention. but till that getter function is not invoked. i put console.log too
i tried all the solutions in stackoverflow and github. till not working. could anyone help me to fix this?
anyone there?
Kev
@lineus
Jan 22 2018 15:48
@Mohamed-Abubucker can you paste a link here to a gist of your code? I'll take a look and see if I can help.
Mohamed-Abubucker
@Mohamed-Abubucker
Jan 22 2018 15:49
@lineus thanks for your support in this. i have tried and fixed
getter will not work on find query
Kev
@lineus
Jan 22 2018 15:50
oh cool! nice work!