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

kotlin graphql mutation input type #45273

Open
shohruh-genius opened this issue Dec 24, 2024 · 1 comment
Open

kotlin graphql mutation input type #45273

shohruh-genius opened this issue Dec 24, 2024 · 1 comment
Labels
area/graphql area/kotlin area/smallrye kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus.

Comments

@shohruh-genius
Copy link

Describe the bug

for graphql mutations input type showing incorrect for kotlin List<List>

Expected behavior

"Mutation root"
type Mutation {
  testMatrix(notWorking: [[Int!]!]!, working: [[Int!]!]!): Boolean!
}

Actual behavior

"Mutation root"
type Mutation {
  testMatrix(notWorking: [Int]!, working: [[Int!]]!): Boolean!
}

How to Reproduce?

@GraphQLApi
class GraphQLResource {
    @Mutation
    fun testMatrix(working: List<IntArray>, notWorking: List<List<Int>>): Boolean {
        println("hello world")
        return true
    }
}

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

17.5

Build tool (ie. output of mvnw --version or gradlew --version)

Gradle 8.9

Additional information

No response

Copy link

quarkus-bot bot commented Dec 24, 2024

/cc @geoand (kotlin), @jmartisk (graphql), @phillip-kruger (graphql)

@gsmet gsmet added kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus. and removed kind/bug Something isn't working labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql area/kotlin area/smallrye kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus.
Projects
None yet
Development

No branches or pull requests

2 participants