Open burntcookie90 opened 6 years ago
Thanks for the feedback. It's something I started looking into but looks scary! Going the reflection route enabled me to get someone out much quicker. If you have any links to material to demystify the metadata it would be much appreciated
check out kotlin-moshi-codegen, i yanked a bunch of stuff from there for an internal project of mine. There should be a branch using kotlin-metadata.
Been giving this some more thought - how do you picture the API working for nullability?
There wouldn't be any change in API (if you're handling that atm, that is). It should just generate a nullable param builder method.
You should be able to build the target class without grabbing constructors by reflection when using kotlin-metadata.