Git Product home page Git Product logo

Comments (9)

Queatz avatar Queatz commented on September 24, 2024 1

Still needing this...

from client-jvm.

Queatz avatar Queatz commented on September 24, 2024
serializer = KotlinxSerializer(Json {
    isLenient = true
    ignoreUnknownKeys = true
})

possible replacement

from client-jvm.

ssoper avatar ssoper commented on September 24, 2024

I got this issue as well and the solution was to set the version of ktor to 1.3.1, the same version that comes with the client-jvm library. If the maintainers could release a new version of the package with updated dependencies (ktor >= 1.6.5) that would be greatly appreciated.

from client-jvm.

ssoper avatar ssoper commented on September 24, 2024

well drat, updating the library and calling code caused some add’l errors on attempting to build.

> Task :kaptGenerateStubsKotlin FAILED
e: kotlin.KotlinNullPointerException
	at org.jetbrains.kotlinx.serialization.compiler.resolve.SearchUtilsKt.getKSerializerConstructorMarker(SearchUtils.kt:64)
	at org.jetbrains.kotlinx.serialization.compiler.resolve.KSerializerDescriptorResolver.createLoadConstructorDescriptor(KSerializerDescriptorResolver.kt:293)
	at org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationResolveExtension.generateSyntheticSecondaryConstructors(SerializationResolveExtension.kt:85)
	at org.jetbrains.kotlin.resolve.extensions.SyntheticResolveExtension$Companion$getInstance$1.generateSyntheticSecondaryConstructors(SyntheticResolveExtension.kt:121)
	at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.addSyntheticSecondaryConstructors(LazyClassMemberScope.kt:442)
	at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.doGetConstructors(LazyClassMemberScope.kt:437)
	at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.access$doGetConstructors(LazyClassMemberScope.kt:49)
	at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$secondaryConstructors$1.invoke(LazyClassMemberScope.kt:432)
…

from client-jvm.

ssoper avatar ssoper commented on September 24, 2024

Ok created a PR with passing build, lmk if you have questions, concerns, etc, thanks.

from client-jvm.

ssoper avatar ssoper commented on September 24, 2024

FYI it appears the build on that PR is stuck…

from client-jvm.

Grigoriy1987 avatar Grigoriy1987 commented on September 24, 2024

Still needing this...

from client-jvm.

mmoghaddam385 avatar mmoghaddam385 commented on September 24, 2024

Hey all, apologies for the slow response on this, but I believe this should be resolved in release v3.0.0

Please let me know if you all are still seeing this problem.

from client-jvm.

mmoghaddam385 avatar mmoghaddam385 commented on September 24, 2024

This should be resolved with the various updates to dependencies in the latest release, please re-open this issue if this is still a problem

from client-jvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.