Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

None-AA Annotations with parameters referencing AA-generated classes are not copied correctly #1211

@chpasha

Description

@chpasha

I have a custom annotation with parameters , one of them refers to another AA-Generated class. This parameter is not copied to generated class correctly (maybe since the AA-class is generated before the referred AA-class). In the end the Annotation looks like @MyAnnotation(param = "error") which obviously breaks the code

as discussed in #982, the ideal solution would be to copy such annotations correctly. If it is not possible, maybe the fall-back solution could be used which consists in skipping annotations marked with @Inherited since they are still discoverable in runtime when using generated class.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions