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 generation of constrained shapes reaching @sensitive shapes #2585

Merged

Conversation

david-perez
Copy link
Contributor

Constrained shapes should always be able to #[derive(Debug)].

Fixes #2582.

Testing

The modified integration test fails without this patch applied.

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Constrained shapes should always be able to `#[derive(Debug)]`.

Fixes #2582.
@david-perez david-perez added the server Rust server SDK label Apr 17, 2023
@david-perez david-perez requested review from a team as code owners April 17, 2023 15:05
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@david-perez david-perez added this pull request to the merge queue Apr 18, 2023
Merged via the queue into main with commit 80f25d4 Apr 18, 2023
@david-perez david-perez deleted the davidpz/constrained-shapes-targeting-sensitive-breaks-debug branch April 18, 2023 11:00
unexge pushed a commit that referenced this pull request Apr 24, 2023
)

Constrained shapes should always be able to `#[derive(Debug)]`.

Fixes #2582.

## Testing

The modified integration test fails without this patch applied.

## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: Matteo Bigoi <1781140+crisidev@users.noreply.github.com>
rcoh pushed a commit that referenced this pull request Apr 24, 2023
)

Constrained shapes should always be able to `#[derive(Debug)]`.

Fixes #2582.

## Testing

The modified integration test fails without this patch applied.

## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: Matteo Bigoi <1781140+crisidev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Rust server SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Constrained shapes that reach @sensitive shapes don't implement Debug
3 participants