MichelDiz commented :
I have moved this issue to Dgraph as this is a bug in Dgraph’s query parser. So, it is not related to Dgo.
Reproducible with
query uid($name: string="test@example.com", $type: string="<type:emailAccount>"){
uid(func:eq(name, $name)) @filter(has($type)) {
uid
name
}
}