Extend API for $set stage and update operator to support adding new fields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Aggregation, Builders, LINQ
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Our current API for $set stage and update operators is oriented towards setting new values for existing fields.

      The API needs to be extended to support adding new fields.

      Because our API is strongly typed this means that the output document from a $set stage needs to be different from the input document. This requires new overloads.

      How to support adding fields with a $set update operator needs to be investigated.

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

              Created:
              Updated: