Сan't make a variable Dgraph

Maybe something like this

query MyQuery($filter: ProductFilter) {
	queryProduct(filter: $filter) {
		id
	}
}

{"variables": {"filter": { "name": { "eq": "note" } }}}

See https://dgraph.io/docs/graphql/api/variables/