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

Feature request/discussion: --omit-deprecated #300

Open
pavel-kirienko opened this issue Apr 29, 2023 · 2 comments
Open

Feature request/discussion: --omit-deprecated #300

pavel-kirienko opened this issue Apr 29, 2023 · 2 comments
Labels
feature New feature or request
Milestone

Comments

@pavel-kirienko
Copy link
Member

Sometimes, when performing maintenance on a DSDL-dependent codebase, you want to exclude (perhaps temporarily) all deprecated data types from the build (which may or not may not fail as a result of this). To support this use case, we could add a new option to Nunavut that makes it ignore all @deprecated types. This is mostly useful with languages that have no built-in support for deprecation, like C.

@thirtytwobits what do you think?

@pavel-kirienko pavel-kirienko added the under consideration Not ready to accept this issue but will consider. label Apr 29, 2023
@thirtytwobits
Copy link
Member

I'm wondering if the behaviour should be the inverse: deprecated types are only emitted if --include-deprecated is specified.

@pavel-kirienko
Copy link
Member Author

I think this would only create undue obstacles for languages that already have the concept of deprecation.

@thirtytwobits thirtytwobits added feature New feature or request and removed under consideration Not ready to accept this issue but will consider. labels Jul 25, 2024
@thirtytwobits thirtytwobits added this to the 3.0 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants