You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/08/08 08:09:00 UTC

[jira] [Updated] (SLING-11517) Adaptable annotation should be allowed to be used multiple times on the same classes

     [ https://issues.apache.org/jira/browse/SLING-11517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated SLING-11517:
------------------------------------
    Description: 
Sometimes it is handy to define adaptations metadata for different adaptables on the same class. Using the {{Adaptable}} annotation currently does not allow to be used more than once on a class.
In addition it would be handy for the adaptableClass to allow collections (for edge cases where the same adapters are supported on multiple adaptable classes).

  was:Sometimes it is handy to define adaptations metadata for different adaptables on the same class. Using the {{Adaptable}} annotation currently does not allow to be used more than once on a class.


> Adaptable annotation should be allowed to be used multiple times on the same classes
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-11517
>                 URL: https://issues.apache.org/jira/browse/SLING-11517
>             Project: Sling
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: Adapter Annotations (JSON) 1.0.2
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Sometimes it is handy to define adaptations metadata for different adaptables on the same class. Using the {{Adaptable}} annotation currently does not allow to be used more than once on a class.
> In addition it would be handy for the adaptableClass to allow collections (for edge cases where the same adapters are supported on multiple adaptable classes).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)