I feel this
{
me(_uid_: 0x01) {
friends (first: 10) @filter(
anyOf("type.object.name.en", "john", "snow")
ge("born.on", 1990)
lt("born.on", 2000) )
@filter(gt(_count_(child), 2)) {
relatives @filter (near("home.geolocation", {lat: 12.43, lon: -53.211, rad: 10k}) {
name
}
}
}
}
looks pretty good and also close to GraphQL as we discussed the other day. Just using @filter
on the parent level compared to _filter_
in the previous design.