Hi to all.
I have a complex aggregation pipeline, where
SetWindowFields is only one of the stages in the middle of it.
Since the method is defined as
IAggregateFluent<BsonDocument> it stops being strongly typed and I have to work with
BsonDocument in the next stages (or find a way to project it back to the type it is).
Am I missing something or is this a current limitation? I didn’t find many examples using the C# LINQ provider with
SetWindowFields. All the examples have it as a final stage returning
Since the function works more or less like
AddFields I checked to see how this is defined but it’s not available through LINQ.