Create a product with a connection field.
type product {
id: ID!
name: String!
connection: connection
}
enum connection {
"USB-A"
USB_A
"USB-B"
USB_B
}
In query i use __type as below which is working fine.
{
queryproduct {
id
name
connection
}
__type(name: "connection") {
connection: enumValues {
name
description
}
}
}
But in product return data connection return USB_A and USB_B can i show original value instead of that?