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:
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: