Skip to content

fix(contract): Added JSON date-time/date/time/email string format regex #929

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

Closed
wants to merge 9 commits into from

Conversation

mmaeng
Copy link
Contributor

@mmaeng mmaeng commented Oct 27, 2022

Part of Issue #118 :

cfn was throwing Key Error during contract validation tests for valid JSON string format types even "date-time" which is one of the examples generated during cfn init

added regex for

date-time
date
time
email

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

@mmaeng mmaeng closed this Oct 27, 2022
@mmaeng
Copy link
Contributor Author

mmaeng commented Oct 27, 2022

Based this branch off #924 for testing. Will submit another PR with just regex additions.

@mmaeng mmaeng deleted the feat/string-formats branch November 11, 2022 14:56
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.

1 participant