Tag: gradle
-
Android Studio Gradle Version Error On Apollo
0 Hello i want to use this "https://studio.apollographql.com/public/star-wars-swapi/variant/current/home" star wars api, but when i want to download scheme from terminal i take this error. Here my gradle app module; plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("com.apollographql.apollo3") version "3.8.2" id("com.google.dagger.hilt.android") kotlin("kapt") id("androidx.navigation.safeargs.kotlin") } apollo { service("service") { packageName.set("com.softcross.starwars") } } android { namespace = "com.softcross.starwars" compileSdk = 34…
-
Unknown Custom Scalars during Apollo Client GraphQL 3.0 migration
0 I have been following this link to do an apollo client version upgrade: https://www.apollographql.com/docs/kotlin/migration/3.0/ After completing the section to replace customTypeMapping I am now seeing the following error: Apollo: unknown custom scalar(s) in customScalarsMapping: Date,Currency,Year,Month,Percentage,MediaType,Base64 My build.gradle.kts file has been updated to contain the updated custom scalar mapping methods: mapScalar("Date", "java.time.LocalDate") mapScalar("Currency", "java.util.Currency") mapScalar("Year",…