Uploaded image for project: 'MongoDB for IntelliJ Plugin'
  1. MongoDB for IntelliJ Plugin
  2. INTELLIJ-157

Parsing of Filters.and and other similar varargs filter does not work well when passed a list

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Iteration Satellite
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      Try the following query in IDE

      Collection.find(Filters.and(List.of(Filters.eq("nonExistentField"))))

      Expected Results

      nonExistentField to be marked with a warning

      Actual Results

      No warning for nonExistentField

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            himanshu.singh@mongodb.com Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: