-
Notifications
You must be signed in to change notification settings - Fork 4
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
Structuring libraries #1
Comments
I agree, that looks good. I think |
Are there more libraries which provide types which we want to add serializers for? Okio was a good example, where it might make sense to have a |
Should we call it |
I think
I was thinking about adding the serializers I made for Kafka Streams https://github.com/adamko-dev/kotka-streams#kotka-streams-kotlinx-serialization There might also be Javascript or Android types - but I couldn't find anything with an initial search. |
Here's another library that could have serializers: https://github.com/ionspin/kotlin-multiplatform-bignum BigDecimal and BigInteger can't be encoded yet (awaiting the release of Kotlin/kotlinx.serialization#2041), but we could add BigDecimalAsString |
Currently the Example (I've disabled Kotlin/Native locally, so there's no I realise now this is probably the purpose behind defining separate conventions for Kotlin Multiplatform JVM, JS, and Native! However, what might be simpler is defining a |
@aSemy with the BigInteger / BigDecimal stuff I felt that it might be interesting to have format-specific modules as well.. E.g. |
I think that makes sense, but I'd be a bit cautious about fragmenting the subprojects too much. A |
First, thanks for taking the initiative!
I was thinking about how to structure the project. I think Kotlinx Coroutines gives a good example of how this can be done, where there are specific support libraries for external libraries.
The question I have is, how fine-grained do the KxS support libs need to be? Is
k3s-jdk
okay, or should there bek3s-jdk-io
,k3s-jdk-nio
,k3s-jdk-sql
? Both is also possible, ifk3s-jdk
exposes the specialised libs as API dependencies.The text was updated successfully, but these errors were encountered: