Skip to content

Commit

Permalink
add: deprecation notice to deprecated fluent builder methods (#2386)
Browse files Browse the repository at this point in the history
* add: deprecation notice to deprecated fluent builder methods

* add: CHANGELOG.next.toml notes
  • Loading branch information
Velfi authored and aws-sdk-rust-ci committed Feb 23, 2023
1 parent 21caa66 commit f4021b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# message = "Fix typos in module documentation for generated crates"
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
# author = "rcoh"
# author = "rcoh"
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ class FluentClientGenerator(
""",
)

// Write a deprecation notice if this operation is deprecated.
writer.deprecatedShape(operation)

writer.rust(
"""
pub fn ${
Expand Down

0 comments on commit f4021b2

Please sign in to comment.