Hi to all! Is possible to overwrite a string prope...
# orm-help
m
Hi to all! Is possible to overwrite a string property from SDL and expose it as enum with nexus? I have tried this code, hiding the main
type
string property, and creating a new one based on an enum. But when I try a query, when it's parsing the response, it throws an error.
"Expected a value of type \"CostType\" but received: \"MAINTENANCE\"",
because it's not converting the string to the enum. How can I do it in its resolve function to convert this string to its enum?