Open
Description
We should add support for returning union types in query
and mutation
resolvers. As it states in the documentation this is not supported in all scenarios(https://kgraphql.io/Reference/Type%20System/unions/)
Currently there is a limitation on union return types for query definitions. This is currently only supported via sealed classes. See more information below.