Returning an N-depth sequence query via GraphQL Dgraph Cloud like you do in graph db query languages

I wonder if it might be possible if you returned an interface and all of those types implement that interface. Like the way relay does it with the node interface and can be seen here: