Skip to content

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

Description

@chris-tate

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions