pascaldekloe / colfer

binary serialization format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate schema from Kotlin code

rrva opened this issue · comments

There is none at the moment. Similar suggestions have been made for Java. How would edition Kotlin files be better than a schema file?

Closing on no response.

In my case I have quite a large data model already modeled in Kotlin. To jump start schema work, it would be nice to generate it. Also, I am unsure if I want to work schema-first with this data, but rather it would be nice to have the master version be the kotlin data classes

I have trouble seeing how migrating a large model to schema's will take more than 15 minutes of work @rrva. 😉 For such little gain there's little intent to write tool which produces Colfer schema's from Kotlin, as I'm sure it will be possible.