These are chat archives for Automattic/mongoose

21st
May 2017
Steve Adams
@stevezau
May 21 2017 02:41
I'm using mongoose with graphql. I'm trying to work out a nice way to 'patch' a nested object. I believe with findOneAndUpdate you need to write dot notation for nested objects. Is there some tool to convert from a json style object to dot notation within mongoose?