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

JavaScript (v3): Deprecate ScenarioOutput #7043

Open
cpyle0819 opened this issue Nov 6, 2024 · 0 comments
Open

JavaScript (v3): Deprecate ScenarioOutput #7043

cpyle0819 opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
Internal To help track internal tickets in a single location. Javascript-v3 This issue relates to the AWS SDK for Javascript V3

Comments

@cpyle0819
Copy link
Contributor

ScenarioOutput is a sub-class of a scenario Step that offers logging capability for a scenario.

In practice ScenarioOutput has proven to be a bit unwieldy. It puts a lot of distance between logs and functionality, and the output steps obfuscate what's actually happening in a list of scenario steps.

ScenarioOutput should be marked as deprecated, and the shared logger should be copied into to the Step sub-classes and provided as an argument to step functions, e.g.

new ScenarioAction('my-action', (state, logger) => {});
new ScenarioInput('my-input', (state, logger) => {});
@cpyle0819 cpyle0819 added the Javascript-v3 This issue relates to the AWS SDK for Javascript V3 label Nov 6, 2024
@brmur brmur added the Internal To help track internal tickets in a single location. label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal To help track internal tickets in a single location. Javascript-v3 This issue relates to the AWS SDK for Javascript V3
Projects
None yet
Development

No branches or pull requests

3 participants