Closed
Description
Steps to reproduce
Create a model with property type array:
e.g:
"propertyKey": {
"type": [
"string"
]
}
Insert some records.
Try to filter the record: {where: { propertyKey: "somevalue"}}
Current Behavior
It doesn't return any records for the filter.
However, using loopback-connector-mongodb@5.2.3
package returns the desired response.
Expected Behavior
It should return matching records.
Link to reproduction sandbox
https://github.com/radsal/loopback-sandbox
Additional information
darwin x64 10.19.0
loopback@3.27.0
loopback-boot@3.3.1
loopback-component-explorer@6.5.1
loopback-connector-mongodb@5.2.3
loopback-connector-postgresql@5.0.1
Related Issues
See Reporting Issues for more tips on writing good issues