Metadata tests for an extension stage in $unionWith

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should add integration tests covering an extension stage that uses and produces metadata in a $unionWith pipeline. We should include cases like:

      • reference metadata in top-level pipeline when extension stage in $unionWith provides metadata but top-level pipeline doesn't (error)
      • reference metadata in top-level pipeline  when extension stage in $unionWith doesn't provide metadata but top-level pipeline does (error)
      • reference metadata in top-level pipeline  when extension stage in $unionWith and top-level pipeline provide metadata (success)
      • reference metadata in $unionWith pipeline when provided by extension stage (success) 
      • extension stage in $unionWith pipeline references metadata that doesn't exist (error)
      • etc

            Assignee:
            Aditya Deshpande
            Reporter:
            Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: