-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS:
node.js / npm versions:
Additional info:
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
Given a document like this:
{ countries: [ "Germany", "France" ] }
A query like this:
{ countries: "Germany"}
Shows a warning where "countries" is a List<String> and the value is a string.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Connect to our devtools cluster in the sample_mflix database and write the following query:
template.find(query(where("languages").is("English")), Movie.class)
Expected Results
What do you expect to happen?
No warning is shown.
Actual Results
What do you observe is happening?
A warning is shown.
Additional Notes
Any additional information that may be useful to include.
- related to
-
INTELLIJ-64 Improve type matching for Spring Criteria queries
- Closed