when working with a sealed class (where sealedSubc...
# ksp
z
when working with a sealed class (where sealedSubclasses are accessible from the sealed parent), would a processor that cares about annotations (and their entry values) on subclasses be aggregating in this case? Or still isolating if everything goes through the sealed parent initially?
y
I "think" invalidation is based on files in KSP so it wouldn't matter. (Hence isolating?). Though I remember we discussed making it more fine grained so it might matter in the future
z
hmm, but sealed types can be across files now
👍 1
today i learned 1
t
Still isolating if everything goes through the sealed parent initially. I.e., processors don't need to worry about associating files of subclasses manually. It is handled in https://github.com/google/ksp/pull/404.
z
Perfect, thanks