-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Holger Brandl
committed
Nov 7, 2021
1 parent
41902e6
commit dccc1e6
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Koin Serialization with Kryo | ||
|
||
Supplementary example for https://github.com/EsotericSoftware/kryo/issues/864 | ||
|
||
|
||
The repo contains multiple examples, where I have tried to narrow down the issue. | ||
* KryoLambda.kt - generic kotlin labmda, **works** in both ways with kryo | ||
* KryoDefinition.kt - generic lambda, wrapped into other types **works** in both ways with kryo (includes KryoLambda) | ||
* KryoBeanDefinition.kt - more complex wrapper around KryoDefinition, **fails to work with kryo** | ||
* KryoInstanceFactory.kt - Includes KryoBeanDefinition, but does not work. | ||
|
||
* These examples arose from my original usecase, which is serializing/deserializing an instance of https://insert-koin.io/ |