Closed atzedus closed 1 month ago
1) init database:
CREATE TYPE platform AS ENUM ('DESKTOP', 'MOBILE', 'SMART_TV');
2) generate code by bob v0.26.0
Expected:
// Enum values for Platform const ( PlatformDESKTOP Platform = "DESKTOP" PlatformMOBILE Platform = "MOBILE" PlatformSMART_TV Platform = "SMART_TV" )
result:
// Enum values for Platform const ( PlatformDESKTOP Platform = "DESKTOP" PlatformMOBILE Platform = "MOBILE" PlatformSMARTU5fTV Platform = "SMART_TV" )
PlatformSMARTU5fTV
A side effect of better support for symbols 😅
I'll fix this soon
Should be fixed in #218.
Try it out and let me know.
1) init database:
2) generate code by bob v0.26.0
Expected:
result:
PlatformSMARTU5fTV