Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enums with string values causes issues #3069

Closed
shafreenAnfar opened this issue Jul 4, 2022 · 0 comments · Fixed by ballerina-platform/module-ballerina-graphql#823
Closed
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Points/1 Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/PCM Protocol connector packages related issues Type/Bug

Comments

@shafreenAnfar
Copy link
Contributor

Consider the below enum

public enum Region {
    NA = "NA",
    APAC = "APAC", 
    MEA = "MEA",
    ANZ = "ANZ",
    EU1 = "EU 1",
    EU2 = "EU 2",
    EU3 = "EU 3"
}

Results in below,

Screen Shot 2022-07-04 at 7 42 13 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Points/1 Reason/EngineeringMistake The issue occurred due to a mistake made in the past. Team/PCM Protocol connector packages related issues Type/Bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants