node-mongodb-native - PR #4988: fix: preserve $meta direction in [field, direction] sort pair

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      spokodev has created PR #4988: fix: preserve $meta direction in [field, direction] sort pair in node-mongodb-native
      Implementation provided by the external reporter looks accurate. Tuple format of [Sort, SortDirection] fails on a valid union type member provided as the SortDirection { $meta: ... }

      Use Case

      As a driver user
      I want to be able to sort by meta
      So that I can leverage textscore sorting appropriately

      User Experience

      • Cursor sorts should be { $meta } aware as a sort direction

      Dependencies

      • uN/A

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • functional reqs, potential snafus to avoid, performance targets, etc

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • None – this aligns with documentation

      Follow Up Requirements

      • N/A

       

            Assignee:
            Unassigned
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: