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

Basic support of @deprecated trait in Smithy model #1570

Merged
merged 20 commits into from
Jul 28, 2022
Merged

Commits on Jul 26, 2022

  1. Add helper for creating deprecated attribute

    * `Attribute.Custom.deprecated` is the main logic for building up
      `#[deprecated]` attribute
    * `RustWriter.deprecatedShape` is the counterpart of `documentShape`,
      but we do not going to generalize it as what `documentShape` does.
      Deprecated is only for Rust code and probably won't be used in other
      output language.
    
    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    6804312 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1f5bc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e5f2357 View commit details
    Browse the repository at this point in the history
  4. Support @deprecated trait for UnionGenerator

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    33831a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d0fe8d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    43cfd8f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    399bdda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0582908 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    77ab717 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c051519 View commit details
    Browse the repository at this point in the history
  11. Cleanup leftover in test

    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    fe8749c View commit details
    Browse the repository at this point in the history
  12. Use dq() helper method instead of escaping by hands

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    1899b55 View commit details
    Browse the repository at this point in the history
  13. Leverage Kotlin null safety well

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    774ee15 View commit details
    Browse the repository at this point in the history
  14. Allow deprecated rustc lint rule

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    6ab77ed View commit details
    Browse the repository at this point in the history
  15. Allow deprecated in unit tests

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    f8e6644 View commit details
    Browse the repository at this point in the history
  16. Leverage kotlin null safety check again

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    b8161d4 View commit details
    Browse the repository at this point in the history
  17. changelog: Support @deprecated trait

    Signed-off-by: Weihang Lo <[email protected]>
    weihanglo committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    3006aac View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    c42dfe7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a7545c View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    b5db8ea View commit details
    Browse the repository at this point in the history