Skip to content

Groovy graphqlIntrospectSchema failing on kotlin.jvm.internal.MutablePropertyReference #1233

Answered by dariuszkuc
FidasL asked this question in General
Discussion options

You must be logged in to vote

Hello 👋
I just tried the above configuration and with few minimal tweaks it worked for me. I could not reproduce your error.

plugins {
    id("org.jetbrains.kotlin.jvm") version '1.4.32'
    id("com.expediagroup.graphql") version "4.1.1"
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib"
    implementation "com.expediagroup:graphql-kotlin-spring-client:4.1.1" // spring or ktor client is required for compilation
}

graphql {
    graphqlIntrospectSchema {
        endpoint = "http://localhost:8080/graphql"
    }

    graphqlGenerateClient {
        schemaFile = graphqlIntrospectSchema.outp…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FidasL
Comment options

@dariuszkuc
Comment options

Answer selected by smyrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants