timemates / rrpc-kotlin

RPC framework for Kotlin built on top of RSocket
https://rrpc.timemates.org
MIT License
9 stars 0 forks source link

feat&chore: code-generation changes & improvements #5

Closed y9vad9 closed 10 months ago

y9vad9 commented 10 months ago

What's new

Is it breaking change?

Yes, as there no more 'create' function. Also, oneofs are now always not-null. If constructors were previously used, it requires migration to variant with lambda builder.

We cannot enforce consumers to use named parameters, and that's why I made private constructors. create as a function is not necessary.