Function async_graphql::resolver_utils::enum_value
source · pub fn enum_value<T: EnumType>(value: T) -> Value
Expand description
Convert the enum value into a GraphQL value.
This can be used to implement InputType::to_value
or
OutputType::resolve
.