Multiple types for a field in Graphene

224 Views Asked by At

I have the following class

class Input(InputObjectType):
    feature: Graphene.String = Graphene.String()
    value: ??

Where value can represent all primitive types (int, float, bool, string). Is there a way to represent it in Graphene

Thanks!

0

There are 0 best solutions below