Ticket: Get Comments

Here is my implementation. It failed. What is wrong here?

const pipeline = [
        {
            $match: {
            _id: ObjectId(id)
          },
        },
        {
          $lookup: {
            from: "comments",
            let: {id: "$_id"},
            pipeline: [
            {
              $match:{
                $expr: {
                  $eq: ["movie_id", "$$id"],
                },
              },
            },
            {
              $sort: { date: -1 },
            },
          ],
          as: "comments"
        },
      },
    ]

More details about how it fails would be very useful.

I found it. Missing $ in “$movie_id”. Thank you.