Incremental Annotation Processor not supported
Hi, any plan to support incremental annotation processor ? I am checking from warning and stag does not support incremental annotation processor. Thanks
I think in theory, stag should be able to be made into an "aggregating" processor, as it generates type adapters for annotated types and then aggregates them into a single factory. However, I think some refactoring may need to be done first, as currently we are reading from resources during the code generation, which is prohibited by the incremental AP spec (https://github.com/vimeo/stag-java/blob/v2.6.0/stag-library-compiler/src/main/java/com/vimeo/stag/processor/utils/KnownTypeAdapterFactoriesUtils.java#L106). It's been a while since I've worked on this so I'm not sure if there's another way to do what we are doing with resources.