Hey there!
Can you please tell me how to pass params of functions when doing aggregation?
...
{
project: {
image: getFanaticImageUrl($faction, $kind),
}
}
...
This code does not work. $faction and $kind are not defined. addFields does not work as well. $function expects function as string, so it’s quite uncomfortable…