Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand deprecated-error metadata to support all type/member constructs #1321

Open
jpobst opened this issue Mar 12, 2025 · 0 comments
Open

Expand deprecated-error metadata to support all type/member constructs #1321

jpobst opened this issue Mar 12, 2025 · 0 comments
Labels
enhancement Proposed change to current functionality generator Issues binding a Java library (generator, class-parse, etc.)

Comments

@jpobst
Copy link
Contributor

jpobst commented Mar 12, 2025

Context: dotnet/android#1303 (comment)
Context: 8f30933

In 8f30933, support was added for the deprecated-error metadata on <field> to help with deprecating old API. This results in [Obsolete (..., error: true)] attributes being added.

It would likely be handy to have this metadata ability extended to support all possible types and members (class, interface, method, constructor) to facilitate deprecation scenarios.

@jpobst jpobst added enhancement Proposed change to current functionality generator Issues binding a Java library (generator, class-parse, etc.) labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposed change to current functionality generator Issues binding a Java library (generator, class-parse, etc.)
Projects
None yet
Development

No branches or pull requests

1 participant