-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field ordering #41
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed #13 was closed, but I'm also interested in being able to preserve sort order. I've integrated the library and have really enjoyed it, but being able to preserve field order is important enough that I fear it will ultimately result in us not being able to use the library without this feature as we are currently still manually sorting fields by hand post generation.
I see that the field ordering is based on Kotlin's reflection library, but am curious if you have any ideas on how to implement this feature?
I also noticed the
ClassTransfomer.transformPropertyList(properties: List<KProperty<*>>, klass: KClass<*>): List<KProperty<*>>
which looked promising but I haven't dug in very deeply.Thanks!
The text was updated successfully, but these errors were encountered: