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

fix: fixes are not applied to property deprecation messages #1765

Merged
merged 4 commits into from
Mar 19, 2024

Conversation

corymhall
Copy link
Contributor

@corymhall corymhall commented Mar 18, 2024

We have logic in fixupPropertyReference to replace terraform resource references with pulumi references (i.e. aws_s3_bucket => aws.s3.BucketV2).

This logic is applied to the Description property, but it is not applied to the separate DeprecationMessage property. These two properties exist separately in the pulumi resource schema and are combined when creating the website docs and the SDK docs.

fixes #3028

We have logic in `fixupPropertyReference` to replace terraform resource
references with pulumi references (i.e. `aws_s3_bucket` => `aws.s3.BucketV2`).

This logic is applied to the `Description` property, but it is not
applied to the separate `DeprecationMessage` property. These two
properties exist separately in the pulumi resource schema and are
combined when creating the website docs and the SDK docs.

fixes #3028
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.44%. Comparing base (0dd1910) to head (aeb9560).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1765      +/-   ##
==========================================
- Coverage   59.81%   59.44%   -0.38%     
==========================================
  Files         300      309       +9     
  Lines       42032    42485     +453     
==========================================
+ Hits        25142    25255     +113     
- Misses      15467    15805     +338     
- Partials     1423     1425       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@corymhall corymhall requested a review from a team March 18, 2024 16:37
Copy link
Member

@t0yv0 t0yv0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@corymhall corymhall merged commit 3b3fe12 into master Mar 19, 2024
9 checks passed
@corymhall corymhall deleted the corymhall/fix-deprecation-messages branch March 19, 2024 12:15
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.

Confusing deprecation warning
2 participants