-
Notifications
You must be signed in to change notification settings - Fork 29
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
Auto-exclude delegated properties? #171
Comments
The transient keyword still works for excluding fields. In kotlin it's an annotation, e.g. The error message here is not that helpful though. I guess |
ahhh, i didn't know about the |
As for auto-excluding these, I wonder if we could auto-exclude properties that end with |
Yeah, I'd be in favor of that. Although it might be a surprising change if there's anybody out there relying on the current behavior to save computation even over a parcel/unparcel cycle. |
@edenman @grandstaish There are 2 types of Delegates So I believe excluding all delegates can be dangerous. At least a really nice warning should be raised. |
I can't apply annotations to lazy properties, I get this error: |
Does |
Yup, worked perfectly 👍 |
I've got a data class like this:
which gives me:
I know I can add my own exclude annotation and apply it to the field, but that sort of seems like overkill for a fairly normal usecase. Thoughts?
The text was updated successfully, but these errors were encountered: