Skip to content

Conversation

@benjamin-bader
Copy link
Owner

In #22, we got rid of that annoying SerializableThriftOptions type and expressed a wish to further reduce redundant property munging, maybe with AutoValue. Turns out, AutoValue is a poor fit due to the fact that we use ThriftOptions in a mutable way

Turns out, however, that ThriftOptions as used today are perfectly usable in WorkParameters, without extra properties or intermediate types! I don't remember anymore why we needed that second type to begin with; maybe it was the java/kotlin-specific options types that weren't properly serializable? Clearly I misdiagnosed the problem back then. Ah well, works now.

@benjamin-bader benjamin-bader merged commit 734451b into master Mar 9, 2025
2 checks passed
@benjamin-bader benjamin-bader deleted the thrift-options-actually-serializable branch March 10, 2025 21:22
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

Successfully merging this pull request may close these issues.

1 participant