I have the following schema
{
"properties": {
"_id": {
"bsonType": "objectId"
},
"prescriptions": {
"bsonType": "array",
"items": [
{
"bsonType": "object",
"properties": {
"_id": {
"bsonType": "objectId"
},
"left_eye": {
"bsonType": "string"
}
}
}
]
}
}
When I try to query the nested “prescriptions” object using GraphQL I get the following error:
“Unknown argument “limit” on field “prescriptions” of type “Client””
Is there anything I can do so that i can query/filter the nested array? So that I limit to get just 1 entry and order it by date added