Representation of working $addToSet array update operator in mongoose This repository provide minimum steps to reproduce this bug Note: The expected behavior described in official MongoDB native driver documentation here Dependencies: Node: v8.5.0 MongoDB: v3.4.10 mongoose: v5.0.3