You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/09/17 05:59:00 UTC

[jira] [Created] (SLING-9738) Allow to mark api deprecated as part of the api region

Carsten Ziegeler created SLING-9738:
---------------------------------------

             Summary: Allow to mark api deprecated as part of the api region
                 Key: SLING-9738
                 URL: https://issues.apache.org/jira/browse/SLING-9738
             Project: Sling
          Issue Type: New Feature
          Components: Feature Model
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Feature Model API Regions Extension 1.1.8


With the API regions we have a mechanism to create different groups of api like for example an internal and a public/global api.
There are use cases where you want to deprecate public api, but - for it's not possible to mark that api as deprecated in the source. The deprecation is only for the project using/providing those regions.
For such cases, it makes sense to add deprecation information to the api region of the feature model - which then can be used by additional tooling - or at runtime etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)