Filtering ReferenceFields returns incorrect results (MongoEngineConnectionField)
Gentatsu opened this issue · 3 comments
Gentatsu commented
If I run a query with an object that has a ReferenceField which should not return results, it does so anyway.
E.g. If I have 2 Slaves, with the first slave having 2 resources, and the second having 1 and run this:
slaves(name: "Slave1") {
id
name
resources (first: 3) {
edges {
node {
id
}
}
}
}
}
It will return all 3 resources instead of the 2 attached to Slave1