Is it possible in GraphQL to have an input type that is also a union?
Sort of:
const DynamicInputValueType = new GraphQLUnionType({ name: 'DynamicInputType', types: [GraphQLString, GraphQLFloat, GraphQLInt] })
but can also be used as an input for a mutation?
source share