Skip to content
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

Add ability to opt out of auto-value-parcel for a given @AutoValue class #161

Open
chris-tate opened this issue Mar 5, 2024 · 0 comments

Comments

@chris-tate
Copy link

It would be fantastic to have an annotation to suppress auto-value-parcel for a specific class, so we can write the marshaling code by hand while still using @AutoValue for everything else. Right now, just having auto-value-parcel in my project means that it is active for any @AutoValue class that implements Parcelable. In a couple of cases where implementing Parcelable is a requirement this means I have had to abandon @AutoValue for those classes entirely because of the known issues around the way AutoValue subclasses versus the way AIDL generates marshaling code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant