GraphQL mutation with union type

Not as in the example you posted, but union mutations are supported in the way shown here: https://dgraph.io/docs/master/graphql/mutations/mutations-overview/#union-mutations