mapping a graphql enum to a kotlin enumWhat does the [Flags] Enum Attribute mean in C#?Cast int to enum in C#How can I represent an 'Enum' in Python?How do I enumerate an enum in C#?What is the preferred syntax for defining enums in JavaScript?How to get an enum value from a string value in Java?What is a typedef enum in Objective-C?Get int value from enum in C#How to loop through all enum values in C#?Comparing Java enum members: == or equals()?

便利な工具 what does な means

Why are GND pads often only connected by four traces?

Is there a single word meaning "the thing that attracts me"?

How to make the Bass in SATB move more smoothly?

Using Proj4js with OpenLayers to transform lat lng from 4326 to 27700 but coming out unchanged

“Quand même” to mean “anyway”

Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?

Co-author wants to put their current funding source in the acknowledgements section because they edited the paper

Security vulnerabilities of POST over SSL

Count all vowels in string

How do I disable login of user?

What weight should be given to writers groups critiques?

Shorten or merge multiple lines of `&> /dev/null &`

Why is the Eisenstein ideal paper so great?

Is superuser the same as root?

Is my plasma cannon concept viable?

Drums and punctuation

Is keeping the forking link on a true fork necessary (Github/GPL)?

Dad jokes are fun

Can my floppy disk still work without a shutter spring?

Why isn't Tyrion mentioned in the in-universe book "A Song of Ice and Fire"?

Why isn't 'chemically-strengthened glass' made with potassium carbonate to begin with?

Mercedes C180 (W204) dash symbol

What did the 'turbo' button actually do?



mapping a graphql enum to a kotlin enum


What does the [Flags] Enum Attribute mean in C#?Cast int to enum in C#How can I represent an 'Enum' in Python?How do I enumerate an enum in C#?What is the preferred syntax for defining enums in JavaScript?How to get an enum value from a string value in Java?What is a typedef enum in Objective-C?Get int value from enum in C#How to loop through all enum values in C#?Comparing Java enum members: == or equals()?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















I'm fairly new to both Graphql and Kotlin, and I'm having an issue. I have an object (Data Class in kotlin, type in graphql) called Ingredient. Ingredient has a name and an ID, both strings, and a vegan and glutenfree value, both enums.



The problem that I'm having is that when I try to create an ingredient with a mutation, I get a type mismatch for Vegan and GlutenFree where it expects "type.Vegan" and finds "me.paxana.myapplication.models.Vegan"



This is the function I'm using to create the ingredient. In it ingredient.vegan and ingredient.gf are underlined because of the above mentioned type mismatch.



fun createIngredient(ingredient: Ingredient ) 
val createIngredientInput = CreateIngredientInput.builder().name(ingredient.name).vegan(ingredient.vegan).gf(ingredient.gf).build()
mAWSAppSyncClient!!.mutate(CreateIngredientMutation.builder().input(createIngredientInput).build())
.enqueue(mutationCallback)



This is the ingredient data class:



data class Ingredient(val id: String, val name: String, val vegan: Vegan = Vegan.UNKNOWN, val gf: GlutenFree = GlutenFree.UNKNOWN ) 


this is my enum class for Vegan



enum class Vegan 
VEGAN, NONVEGAN, UNKNOWN



Here's my graphQL schema



input CreateIngredientInput 
name: String!
vegan: Vegan
gf: GlutenFree


input DeleteIngredientInput
id: ID!


enum GlutenFree
GLUTENFREE
CONTAINSGLUTEN
UNKNOWN


type Ingredient
id: ID!
name: String!
vegan: Vegan
gf: GlutenFree


type IngredientConnection
items: [Ingredient]
nextToken: String


input ModelBooleanFilterInput
ne: Boolean
eq: Boolean


input ModelFloatFilterInput
ne: Float
eq: Float
le: Float
lt: Float
ge: Float
gt: Float
contains: Float
notContains: Float
between: [Float]


input ModelIDFilterInput
ne: ID
eq: ID
le: ID
lt: ID
ge: ID
gt: ID
contains: ID
notContains: ID
between: [ID]
beginsWith: ID


input ModelIntFilterInput
ne: Int
eq: Int
le: Int
lt: Int
ge: Int
gt: Int
contains: Int
notContains: Int
between: [Int]


enum ModelSortDirection
ASC
DESC


input ModelStringFilterInput
ne: String
eq: String
le: String
lt: String
ge: String
gt: String
contains: String
notContains: String
between: [String]
beginsWith: String


type Mutation
createIngredient(input: CreateIngredientInput!): Ingredient
updateIngredient(input: UpdateIngredientInput!): Ingredient
deleteIngredient(input: DeleteIngredientInput!): Ingredient


type Query
getIngredient(id: ID!): Ingredient
listIngredients(filter: TableIngredientFilterInput, limit: Int, nextToken: String): IngredientConnection


type Subscription
onCreateIngredient(
id: ID,
name: String,
vegan: Vegan,
gf: GlutenFree
): Ingredient
@aws_subscribe(mutations: ["createIngredient"])
onUpdateIngredient(
id: ID,
name: String,
vegan: Vegan,
gf: GlutenFree
): Ingredient
@aws_subscribe(mutations: ["updateIngredient"])
onDeleteIngredient(
id: ID,
name: String,
vegan: Vegan,
gf: GlutenFree
): Ingredient
@aws_subscribe(mutations: ["deleteIngredient"])


input TableBooleanFilterInput
ne: Boolean
eq: Boolean


input TableFloatFilterInput
ne: Float
eq: Float
le: Float
lt: Float
ge: Float
gt: Float
contains: Float
notContains: Float
between: [Float]


input TableIDFilterInput
ne: ID
eq: ID
le: ID
lt: ID
ge: ID
gt: ID
contains: ID
notContains: ID
between: [ID]
beginsWith: ID


input TableIngredientFilterInput
id: TableIDFilterInput
name: TableStringFilterInput
vegan: TableBooleanFilterInput
gf: TableBooleanFilterInput


input TableIntFilterInput
ne: Int
eq: Int
le: Int
lt: Int
ge: Int
gt: Int
contains: Int
notContains: Int
between: [Int]


input TableStringFilterInput
ne: String
eq: String
le: String
lt: String
ge: String
gt: String
contains: String
notContains: String
between: [String]
beginsWith: String


input UpdateIngredientInput
id: ID!
name: String
vegan: Vegan
gf: GlutenFree


enum Vegan
VEGAN
NONVEGAN
UNKNOWN










share|improve this question




























    2















    I'm fairly new to both Graphql and Kotlin, and I'm having an issue. I have an object (Data Class in kotlin, type in graphql) called Ingredient. Ingredient has a name and an ID, both strings, and a vegan and glutenfree value, both enums.



    The problem that I'm having is that when I try to create an ingredient with a mutation, I get a type mismatch for Vegan and GlutenFree where it expects "type.Vegan" and finds "me.paxana.myapplication.models.Vegan"



    This is the function I'm using to create the ingredient. In it ingredient.vegan and ingredient.gf are underlined because of the above mentioned type mismatch.



    fun createIngredient(ingredient: Ingredient ) 
    val createIngredientInput = CreateIngredientInput.builder().name(ingredient.name).vegan(ingredient.vegan).gf(ingredient.gf).build()
    mAWSAppSyncClient!!.mutate(CreateIngredientMutation.builder().input(createIngredientInput).build())
    .enqueue(mutationCallback)



    This is the ingredient data class:



    data class Ingredient(val id: String, val name: String, val vegan: Vegan = Vegan.UNKNOWN, val gf: GlutenFree = GlutenFree.UNKNOWN ) 


    this is my enum class for Vegan



    enum class Vegan 
    VEGAN, NONVEGAN, UNKNOWN



    Here's my graphQL schema



    input CreateIngredientInput 
    name: String!
    vegan: Vegan
    gf: GlutenFree


    input DeleteIngredientInput
    id: ID!


    enum GlutenFree
    GLUTENFREE
    CONTAINSGLUTEN
    UNKNOWN


    type Ingredient
    id: ID!
    name: String!
    vegan: Vegan
    gf: GlutenFree


    type IngredientConnection
    items: [Ingredient]
    nextToken: String


    input ModelBooleanFilterInput
    ne: Boolean
    eq: Boolean


    input ModelFloatFilterInput
    ne: Float
    eq: Float
    le: Float
    lt: Float
    ge: Float
    gt: Float
    contains: Float
    notContains: Float
    between: [Float]


    input ModelIDFilterInput
    ne: ID
    eq: ID
    le: ID
    lt: ID
    ge: ID
    gt: ID
    contains: ID
    notContains: ID
    between: [ID]
    beginsWith: ID


    input ModelIntFilterInput
    ne: Int
    eq: Int
    le: Int
    lt: Int
    ge: Int
    gt: Int
    contains: Int
    notContains: Int
    between: [Int]


    enum ModelSortDirection
    ASC
    DESC


    input ModelStringFilterInput
    ne: String
    eq: String
    le: String
    lt: String
    ge: String
    gt: String
    contains: String
    notContains: String
    between: [String]
    beginsWith: String


    type Mutation
    createIngredient(input: CreateIngredientInput!): Ingredient
    updateIngredient(input: UpdateIngredientInput!): Ingredient
    deleteIngredient(input: DeleteIngredientInput!): Ingredient


    type Query
    getIngredient(id: ID!): Ingredient
    listIngredients(filter: TableIngredientFilterInput, limit: Int, nextToken: String): IngredientConnection


    type Subscription
    onCreateIngredient(
    id: ID,
    name: String,
    vegan: Vegan,
    gf: GlutenFree
    ): Ingredient
    @aws_subscribe(mutations: ["createIngredient"])
    onUpdateIngredient(
    id: ID,
    name: String,
    vegan: Vegan,
    gf: GlutenFree
    ): Ingredient
    @aws_subscribe(mutations: ["updateIngredient"])
    onDeleteIngredient(
    id: ID,
    name: String,
    vegan: Vegan,
    gf: GlutenFree
    ): Ingredient
    @aws_subscribe(mutations: ["deleteIngredient"])


    input TableBooleanFilterInput
    ne: Boolean
    eq: Boolean


    input TableFloatFilterInput
    ne: Float
    eq: Float
    le: Float
    lt: Float
    ge: Float
    gt: Float
    contains: Float
    notContains: Float
    between: [Float]


    input TableIDFilterInput
    ne: ID
    eq: ID
    le: ID
    lt: ID
    ge: ID
    gt: ID
    contains: ID
    notContains: ID
    between: [ID]
    beginsWith: ID


    input TableIngredientFilterInput
    id: TableIDFilterInput
    name: TableStringFilterInput
    vegan: TableBooleanFilterInput
    gf: TableBooleanFilterInput


    input TableIntFilterInput
    ne: Int
    eq: Int
    le: Int
    lt: Int
    ge: Int
    gt: Int
    contains: Int
    notContains: Int
    between: [Int]


    input TableStringFilterInput
    ne: String
    eq: String
    le: String
    lt: String
    ge: String
    gt: String
    contains: String
    notContains: String
    between: [String]
    beginsWith: String


    input UpdateIngredientInput
    id: ID!
    name: String
    vegan: Vegan
    gf: GlutenFree


    enum Vegan
    VEGAN
    NONVEGAN
    UNKNOWN










    share|improve this question
























      2












      2








      2








      I'm fairly new to both Graphql and Kotlin, and I'm having an issue. I have an object (Data Class in kotlin, type in graphql) called Ingredient. Ingredient has a name and an ID, both strings, and a vegan and glutenfree value, both enums.



      The problem that I'm having is that when I try to create an ingredient with a mutation, I get a type mismatch for Vegan and GlutenFree where it expects "type.Vegan" and finds "me.paxana.myapplication.models.Vegan"



      This is the function I'm using to create the ingredient. In it ingredient.vegan and ingredient.gf are underlined because of the above mentioned type mismatch.



      fun createIngredient(ingredient: Ingredient ) 
      val createIngredientInput = CreateIngredientInput.builder().name(ingredient.name).vegan(ingredient.vegan).gf(ingredient.gf).build()
      mAWSAppSyncClient!!.mutate(CreateIngredientMutation.builder().input(createIngredientInput).build())
      .enqueue(mutationCallback)



      This is the ingredient data class:



      data class Ingredient(val id: String, val name: String, val vegan: Vegan = Vegan.UNKNOWN, val gf: GlutenFree = GlutenFree.UNKNOWN ) 


      this is my enum class for Vegan



      enum class Vegan 
      VEGAN, NONVEGAN, UNKNOWN



      Here's my graphQL schema



      input CreateIngredientInput 
      name: String!
      vegan: Vegan
      gf: GlutenFree


      input DeleteIngredientInput
      id: ID!


      enum GlutenFree
      GLUTENFREE
      CONTAINSGLUTEN
      UNKNOWN


      type Ingredient
      id: ID!
      name: String!
      vegan: Vegan
      gf: GlutenFree


      type IngredientConnection
      items: [Ingredient]
      nextToken: String


      input ModelBooleanFilterInput
      ne: Boolean
      eq: Boolean


      input ModelFloatFilterInput
      ne: Float
      eq: Float
      le: Float
      lt: Float
      ge: Float
      gt: Float
      contains: Float
      notContains: Float
      between: [Float]


      input ModelIDFilterInput
      ne: ID
      eq: ID
      le: ID
      lt: ID
      ge: ID
      gt: ID
      contains: ID
      notContains: ID
      between: [ID]
      beginsWith: ID


      input ModelIntFilterInput
      ne: Int
      eq: Int
      le: Int
      lt: Int
      ge: Int
      gt: Int
      contains: Int
      notContains: Int
      between: [Int]


      enum ModelSortDirection
      ASC
      DESC


      input ModelStringFilterInput
      ne: String
      eq: String
      le: String
      lt: String
      ge: String
      gt: String
      contains: String
      notContains: String
      between: [String]
      beginsWith: String


      type Mutation
      createIngredient(input: CreateIngredientInput!): Ingredient
      updateIngredient(input: UpdateIngredientInput!): Ingredient
      deleteIngredient(input: DeleteIngredientInput!): Ingredient


      type Query
      getIngredient(id: ID!): Ingredient
      listIngredients(filter: TableIngredientFilterInput, limit: Int, nextToken: String): IngredientConnection


      type Subscription
      onCreateIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["createIngredient"])
      onUpdateIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["updateIngredient"])
      onDeleteIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["deleteIngredient"])


      input TableBooleanFilterInput
      ne: Boolean
      eq: Boolean


      input TableFloatFilterInput
      ne: Float
      eq: Float
      le: Float
      lt: Float
      ge: Float
      gt: Float
      contains: Float
      notContains: Float
      between: [Float]


      input TableIDFilterInput
      ne: ID
      eq: ID
      le: ID
      lt: ID
      ge: ID
      gt: ID
      contains: ID
      notContains: ID
      between: [ID]
      beginsWith: ID


      input TableIngredientFilterInput
      id: TableIDFilterInput
      name: TableStringFilterInput
      vegan: TableBooleanFilterInput
      gf: TableBooleanFilterInput


      input TableIntFilterInput
      ne: Int
      eq: Int
      le: Int
      lt: Int
      ge: Int
      gt: Int
      contains: Int
      notContains: Int
      between: [Int]


      input TableStringFilterInput
      ne: String
      eq: String
      le: String
      lt: String
      ge: String
      gt: String
      contains: String
      notContains: String
      between: [String]
      beginsWith: String


      input UpdateIngredientInput
      id: ID!
      name: String
      vegan: Vegan
      gf: GlutenFree


      enum Vegan
      VEGAN
      NONVEGAN
      UNKNOWN










      share|improve this question














      I'm fairly new to both Graphql and Kotlin, and I'm having an issue. I have an object (Data Class in kotlin, type in graphql) called Ingredient. Ingredient has a name and an ID, both strings, and a vegan and glutenfree value, both enums.



      The problem that I'm having is that when I try to create an ingredient with a mutation, I get a type mismatch for Vegan and GlutenFree where it expects "type.Vegan" and finds "me.paxana.myapplication.models.Vegan"



      This is the function I'm using to create the ingredient. In it ingredient.vegan and ingredient.gf are underlined because of the above mentioned type mismatch.



      fun createIngredient(ingredient: Ingredient ) 
      val createIngredientInput = CreateIngredientInput.builder().name(ingredient.name).vegan(ingredient.vegan).gf(ingredient.gf).build()
      mAWSAppSyncClient!!.mutate(CreateIngredientMutation.builder().input(createIngredientInput).build())
      .enqueue(mutationCallback)



      This is the ingredient data class:



      data class Ingredient(val id: String, val name: String, val vegan: Vegan = Vegan.UNKNOWN, val gf: GlutenFree = GlutenFree.UNKNOWN ) 


      this is my enum class for Vegan



      enum class Vegan 
      VEGAN, NONVEGAN, UNKNOWN



      Here's my graphQL schema



      input CreateIngredientInput 
      name: String!
      vegan: Vegan
      gf: GlutenFree


      input DeleteIngredientInput
      id: ID!


      enum GlutenFree
      GLUTENFREE
      CONTAINSGLUTEN
      UNKNOWN


      type Ingredient
      id: ID!
      name: String!
      vegan: Vegan
      gf: GlutenFree


      type IngredientConnection
      items: [Ingredient]
      nextToken: String


      input ModelBooleanFilterInput
      ne: Boolean
      eq: Boolean


      input ModelFloatFilterInput
      ne: Float
      eq: Float
      le: Float
      lt: Float
      ge: Float
      gt: Float
      contains: Float
      notContains: Float
      between: [Float]


      input ModelIDFilterInput
      ne: ID
      eq: ID
      le: ID
      lt: ID
      ge: ID
      gt: ID
      contains: ID
      notContains: ID
      between: [ID]
      beginsWith: ID


      input ModelIntFilterInput
      ne: Int
      eq: Int
      le: Int
      lt: Int
      ge: Int
      gt: Int
      contains: Int
      notContains: Int
      between: [Int]


      enum ModelSortDirection
      ASC
      DESC


      input ModelStringFilterInput
      ne: String
      eq: String
      le: String
      lt: String
      ge: String
      gt: String
      contains: String
      notContains: String
      between: [String]
      beginsWith: String


      type Mutation
      createIngredient(input: CreateIngredientInput!): Ingredient
      updateIngredient(input: UpdateIngredientInput!): Ingredient
      deleteIngredient(input: DeleteIngredientInput!): Ingredient


      type Query
      getIngredient(id: ID!): Ingredient
      listIngredients(filter: TableIngredientFilterInput, limit: Int, nextToken: String): IngredientConnection


      type Subscription
      onCreateIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["createIngredient"])
      onUpdateIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["updateIngredient"])
      onDeleteIngredient(
      id: ID,
      name: String,
      vegan: Vegan,
      gf: GlutenFree
      ): Ingredient
      @aws_subscribe(mutations: ["deleteIngredient"])


      input TableBooleanFilterInput
      ne: Boolean
      eq: Boolean


      input TableFloatFilterInput
      ne: Float
      eq: Float
      le: Float
      lt: Float
      ge: Float
      gt: Float
      contains: Float
      notContains: Float
      between: [Float]


      input TableIDFilterInput
      ne: ID
      eq: ID
      le: ID
      lt: ID
      ge: ID
      gt: ID
      contains: ID
      notContains: ID
      between: [ID]
      beginsWith: ID


      input TableIngredientFilterInput
      id: TableIDFilterInput
      name: TableStringFilterInput
      vegan: TableBooleanFilterInput
      gf: TableBooleanFilterInput


      input TableIntFilterInput
      ne: Int
      eq: Int
      le: Int
      lt: Int
      ge: Int
      gt: Int
      contains: Int
      notContains: Int
      between: [Int]


      input TableStringFilterInput
      ne: String
      eq: String
      le: String
      lt: String
      ge: String
      gt: String
      contains: String
      notContains: String
      between: [String]
      beginsWith: String


      input UpdateIngredientInput
      id: ID!
      name: String
      vegan: Vegan
      gf: GlutenFree


      enum Vegan
      VEGAN
      NONVEGAN
      UNKNOWN







      kotlin enums graphql aws-appsync






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 0:23









      Paxana Non GrataPaxana Non Grata

      1081417




      1081417






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Ok, so after I ran amplify codegen on my project I had a type.Vegan and type.GlutenFree enums I could use, so I got rid of my local kotlin enums and made the properties of the Ingredient object type.Vegan and type.GlutenFree.



          Works like a charm.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55319629%2fmapping-a-graphql-enum-to-a-kotlin-enum%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Ok, so after I ran amplify codegen on my project I had a type.Vegan and type.GlutenFree enums I could use, so I got rid of my local kotlin enums and made the properties of the Ingredient object type.Vegan and type.GlutenFree.



            Works like a charm.






            share|improve this answer



























              1














              Ok, so after I ran amplify codegen on my project I had a type.Vegan and type.GlutenFree enums I could use, so I got rid of my local kotlin enums and made the properties of the Ingredient object type.Vegan and type.GlutenFree.



              Works like a charm.






              share|improve this answer

























                1












                1








                1







                Ok, so after I ran amplify codegen on my project I had a type.Vegan and type.GlutenFree enums I could use, so I got rid of my local kotlin enums and made the properties of the Ingredient object type.Vegan and type.GlutenFree.



                Works like a charm.






                share|improve this answer













                Ok, so after I ran amplify codegen on my project I had a type.Vegan and type.GlutenFree enums I could use, so I got rid of my local kotlin enums and made the properties of the Ingredient object type.Vegan and type.GlutenFree.



                Works like a charm.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 23:20









                Paxana Non GrataPaxana Non Grata

                1081417




                1081417





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55319629%2fmapping-a-graphql-enum-to-a-kotlin-enum%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해