I have not prepared a presentable smaller example yet to illustrate the problem, so this is just the initial report to see if there is any current bug reports that already handle this?
Pertinent Schema (not showing @auth rules):
type Task {
id: ID
forContact: Contact
}
type Contact {
id: ID
hasAddresses: [HasAddress]
}
type HasAddress {
id: ID
isPrimary: Boolean @search
address: Address
}
type Address {
id: ID
city: City
state: State
}
type City {
name: String! @id
}
type State {
name: String! @id
}
My query:
{
queryTask(first:25) {
id
forContact {
id
hasAddresses(first: 1) {
id
address {
id
city: { name }
state: { name }
}
}
}
}
}
This returns an empty set for queryTask[*].forContact.hasAddresses However, if I remove the first filter from the hasAddresses edge, then I get the data I want.
I am thinking it probably has something again to do with the first filter not playing nice with the @auth rules. I think I reported something similar before but it was resolved. I will try to find that post and link it here as well.