MongoDB 4.4 added a restriction on $ prefixed field paths whereas previous versions would ignore them. Grapher seems to have missed $expr when preventing operators from ending up in the fields projection, causing:
MongoError: FieldPath field names may not start with '$'.
Our tests caught this upgrading to Meteor 2.2 which upgraded the embedded MongoDB version to 4.4 (changelog).
MongoDB 4.4 added a restriction on
$
prefixed field paths whereas previous versions would ignore them. Grapher seems to have missed$expr
when preventing operators from ending up in the fields projection, causing:Our tests caught this upgrading to Meteor 2.2 which upgraded the embedded MongoDB version to 4.4 (changelog).