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

Add transforms to remove deprecated shapes #2452

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

hpmellema
Copy link
Contributor

Description

Adds two transforms to smithy-model and directed codegen that allow users to filter out deprecated shapes by version or date.

These transforms allow a user of directed codegen to quickly implement the recommended relativeVersion and relativeDate settings for client and type code generators.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema requested a review from a team as a code owner November 12, 2024 18:00
@mtdowling
Copy link
Member

Can we get a smithy-build.json transform for this too?

@hpmellema
Copy link
Contributor Author

Can we get a smithy-build.json transform for this too?

Sure. Ill add it in the next rev.

@hpmellema hpmellema merged commit cc4b0e1 into smithy-lang:main Nov 13, 2024
13 checks passed
@hpmellema hpmellema deleted the filter-deprecated branch November 13, 2024 17:08
yasmewad pushed a commit to yasmewad/smithy that referenced this pull request Nov 13, 2024
Adds two transforms to smithy-model and directed codegen that allow users to filter out deprecated shapes by version and/or date.
MYoung25 pushed a commit to MYoung25/smithy that referenced this pull request Nov 29, 2024
Adds two transforms to smithy-model and directed codegen that allow users to filter out deprecated shapes by version and/or date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants