Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

[Idea] Support multi-platform targeting #11

Open
tristancaron opened this issue Dec 30, 2017 · 3 comments
Open

[Idea] Support multi-platform targeting #11

tristancaron opened this issue Dec 30, 2017 · 3 comments

Comments

@tristancaron
Copy link

Kotlin is now multi-platform (JVM/JavaScript/Native).

Currently the project can only target JVM. It would be nice to support the others platforms as well.

Do you you think it's relevant?

@pgutkowski
Copy link
Owner

That's nice idea, I love the fact that Kotlin is pushing for multiplatform. Most certainly it would take some work, because right now KGraphQL heavily depends on Jackson library for JSON streaming.

I still need some time to do my research, and find out what would be the best approach. Are you interested in contributing in this effort, or is this just an idea?

@tristancaron
Copy link
Author

I was interested by contributing actually. I really love how we can use this library. I was thinking about using it in my company and suggest improvement if necessary.

Regarding the multi-platform, Jackson is not the only issue. Reflection is also. AFAIK, JavaScript reflection is not under development yet (https://discuss.kotlinlang.org/t/kotlin-js-full-reflection-api/4529/2). Maybe we can use kapt?

@andylamax
Copy link

I might be too late to the party, but you can replace the Jackson library with Kotlinx-Serialization and I can tell it's production ready. So, Time to go Multiplatform?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants