Make it explicit whether the caller wants to know about inputs or outputs of a stage in the dependency graph

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the public methods take in a DocumentSource pointer and give information about that inputs of that stage. vesko.karaganev@mongodb.com pointed out that it'd be nicer if callers could explicitly request either behavior, e.g. something like:

      canPathBeArray(LookupScope::inputs(stage), path)  
      canPathBeArray(LookupScope::outputs(stage), path)
      

       

            Assignee:
            Unassigned
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: