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

feat(smithydotnet): add dependency error from localservice trait #288

Merged
merged 8 commits into from
Sep 20, 2023

Conversation

josecorella
Copy link
Contributor

@josecorella josecorella commented Sep 1, 2023

Issue #, if available:

Description of changes:
localService in smithy can have dependencies in order to properly model all errors the service or dependent services can throw.

Here we go through the localServiceTrait and check if we have dependencies and add the appropriate namespace to the set so the errors can be correctly written. This prevents valid errors from dependencies convert to Default Opaque objects loosing the stack error message

SIM to track work of adding back unused modeled dependency: https://sim.amazon.com/issues/CrypTool-5231

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

texastony
texastony previously approved these changes Sep 1, 2023
lucasmcdonald3
lucasmcdonald3 previously approved these changes Sep 20, 2023
@josecorella josecorella merged commit be60f69 into main-1.x Sep 20, 2023
54 checks passed
@josecorella josecorella deleted the jocorell/fix-localservice-dep-error branch September 20, 2023 21:38
ShubhamChaturvedi7 pushed a commit to ShubhamChaturvedi7/smithy-dafny that referenced this pull request Apr 24, 2024
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