Skip to content

I found that the directory generated by ksp plus @Serializable didn't work. #2990

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

Open
zjarlin opened this issue Apr 17, 2025 · 2 comments
Open

Comments

@zjarlin
Copy link

zjarlin commented Apr 17, 2025

Describe the bug
data class from jdbc metadata by ksp, I found that the directory generated by ksp plus @serializable didn't work.
To Reproduce
Attach a code snippet or test data if possible.

Expected behavior

Environment

  • Kotlin version: [e.g. 1.3.30]
  • Library version: [e.g. 0.11.0]
  • Kotlin platforms: [e.g. JVM, JS, Native or their combinations]
  • Gradle version: [e.g. 4.10]
  • IDE version (if bug is related to the IDE) [e.g. IntellijIDEA 2019.1, Android Studio 3.4]
  • Other relevant context [e.g. OS version, JRE version, ... ]
@zjarlin
Copy link
Author

zjarlin commented Apr 17, 2025

How to deal with the generated code correctly

@zjarlin zjarlin closed this as completed Apr 17, 2025
@zjarlin
Copy link
Author

zjarlin commented Apr 22, 2025

Image in kmp shared kotlin("plugin.serialization") version "+"
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:+") but ISysUser and IsysUserImpl is generated by ksp. serializerNotRegistered

@zjarlin zjarlin reopened this Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant