Skip to content

Conversation

mndeveci
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
Replace str parameters with array of exceptions for InvalidDocumentException constructor call.

Description of how you validated changes:
By running existing test cases.

Checklist:

  • Add/update unit tests using:
  • Add/update integration tests
  • make pr passes
  • Update documentation
  • Verify transformed template deploys and application functions as expected
  • Do these changes include any template validations?
    • Did the newly validated properties support intrinsics prior to adding the validations? (If unsure, please review Intrinsic Functions before proceeding).
      • Does the pull request ensure that intrinsics remain functional with the new validations?

Examples?

Please reach out in the comments, if you want to add an example. Examples will be
added to sam init through https://github.com/awslabs/aws-sam-cli-app-templates/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hawflau hawflau merged commit 0b2da73 into aws:develop Jun 14, 2022
@mndeveci mndeveci deleted the fix_invalid_doc_exception branch June 14, 2022 16:21
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