You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeatable annotations are tricky when scanning them in compiled classes, what would be necessary for
supporting them when scanning in "screenshotTest" and "androidTest" source sets.
I'd like to avoid the hassle and make the code more complicated without adding real value.
Therefore, for now, the recommended workaround is to use arrays in a non-repeatable annotation.
Moreover, since ComposablePreviewScanner 0.5.1, using repeatable annotations will throw a "RepeatableAnnotationNotSupported" exception, at least, till I add support for them.
I doubt it will cause any trouble or anyone was using them, since they could not be properly retrieved by using getAnnotation<MyRepeatableAnnotation>()
This would allow more advance use cases like screenshot testing animations as discussed here
takahirom/roborazzi#633 (comment)
The text was updated successfully, but these errors were encountered: