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(codegen): enable SSDK validation protocol tests #2884

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

adamthom-amzn
Copy link
Contributor

@adamthom-amzn adamthom-amzn commented Oct 9, 2021

Description

As a separate set of models from malformed request tests, Smithy publishes
malformed request tests for built-in validation, which exercises how the SSDK
rejects requests that do not obey the modeled constraints (such as length,
pattern, etc).

Testing

Ran yarn generate-clients -s && yarn test:server-protocols locally with smithy-lang/smithy-typescript#450 and smithy-lang/smithy-typescript#449 checked out and linked locally.


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

As a separate set of models from malformed request tests, Smithy publishes
malformed request tests for built-in validation, which exercises how the SSDK
rejects requests that do not obey the modeled constraints (such as length,
pattern, etc).
@adamthom-amzn adamthom-amzn requested review from JordonPhillips, gosar and a team October 9, 2021 01:42
@codecov-commenter
Copy link

Codecov Report

Merging #2884 (6ca67cb) into main (77f9b18) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2884   +/-   ##
=======================================
  Coverage   58.57%   58.57%           
=======================================
  Files         558      558           
  Lines       30249    30249           
  Branches     7443     7443           
=======================================
  Hits        17719    17719           
  Misses      12530    12530           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77f9b18...6ca67cb. Read the comment docs.

@adamthom-amzn adamthom-amzn merged commit c23cbc4 into aws:main Oct 13, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants