-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Current parse method is case sensitive.
enum CustomEnum {
Field1
Field2
}
def parse(str: String) : CustomEnum = {
str match {
case "Field1" => Field1
case "Field2" => Field2
}
} it could be much better to parse lower case. we could use enum values as path prefixes in http routes, for example
def parse(str: String) : CustomEnum = {
str.toLowerCase match {
} Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels