Add new overload of Set that allows adding new fields as well as setting existing fields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.3.0
    • Component/s: Builders, LINQ
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The Set method in IAggregateFluent and PipelineDefinitionBuilder currently only handles setting existing fields to new values.

      That is because the input type and the output type of the stage are both `TResult`.

      New overloads that support a result of `TNewResult` different than the input `TResult` is needed.

      The design of the existing and any new API for Set should be carefully examined before any new public API is committed to.

              Assignee:
              Unassigned
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: