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

Rename @ArrayContentBased to @Poko.ReadArrayContent #449

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

drewhamilton
Copy link
Owner

Inspired by this discussion, this aligns with the location and tense of @Poko.Skip and allows for use of the array content-reading feature with a custom Poko annotation.

This allows support for using this feature with a custom Poko annotation.

Change ArrayContentBased to a deprecated typealias for compatibility.
@@ -1,12 +1,12 @@
public abstract interface annotation class dev/drewhamilton/poko/ArrayContentBased : java/lang/annotation/Annotation {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I correct that there is no binary compatibility concern here because this is a source-retention annotation?

In other words, an app with dependencies on two libraries each compiled with different Poko versions that both use this feature, won't care about the missing dev.drewhamilton.poko.ArrayContentBased type even if it's used to annotate one of the properties in one of the libraries?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

@drewhamilton drewhamilton merged commit 55ce748 into main Dec 14, 2024
6 checks passed
@drewhamilton drewhamilton deleted the drew/rename-array-content-based branch December 14, 2024 02:42
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.

2 participants