Add upstreamMetadata field to QueryExecutionContextBase

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to ensure that transform extensions aren't modifying metadata they're not supposed to, the host must have a location to store the upstream metadata prior to sending the document to the extension to transform.

      This ticket should add a field upstreamMetadata to QueryExecutionContextBase and update QueryExecutionContext and QueryExecutionContextAdapter. By not updating the api.h or QueryExecutionContextHandle, the extension will not have access to this field, only the host will.

      class QueryExecutionContextBase { 
      public:     
           // Existing methods.     
           DocumentMetadataFields upstreamMetadata; 
      }; 

            Assignee:
            Unassigned
            Reporter:
            Josh Siegel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: