I've followed the instructions, applied the plugin...
# serialization
e
I've followed the instructions, applied the plugin and added the core dependency to
commonMain
, yet I get this. Anyone else experienced the same? Completion for
serializer()
works, but it doesn't compile. That is a piece of code under
commonTest
.
1
a
Might be an incorrect completion suggestion?
serializer()
is defined on a companion object of a class, and I guess
value
is an instance of a class?
e
Damn! I feel dumb now lol
You're right, solved! Compiles fine. I was doing all sort of weird stuff with Gradle trying to figure it out.
🎉 1
I guess I should always get the serializer using
serializer<T>()
, so I don't have to deal with classes directly.