Skip to content

fix(parser): min array length on Records #3521

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

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented Jan 23, 2025

Summary

Changes

Please provide a summary of what's being changed

This PR adds a .min(1) block to all built-in Parser schemas that had it missing.

Additionally the PR also refactors the tests for SES, CloudFormation, and AppSync as well as the @parser decorator. Finally it fixes some minor inconsistencies across a handful other test files.

Based on my survey, the last type of schema that is missing the .min(1) are the Kinesis ones that will be addressed as part of the work in #3249.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #3475


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

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Jan 23, 2025
@dreamorosi dreamorosi requested a review from a team January 23, 2025 23:54
@dreamorosi dreamorosi requested a review from a team as a code owner January 23, 2025 23:54
@boring-cyborg boring-cyborg bot added parser This item relates to the Parser Utility tests PRs that add or change tests labels Jan 23, 2025
@pull-request-size pull-request-size bot added the size/L PRs between 100-499 LOC label Jan 23, 2025
@dreamorosi dreamorosi requested a review from am29d January 23, 2025 23:54
@github-actions github-actions bot added the bug Something isn't working label Jan 23, 2025
@dreamorosi dreamorosi merged commit 89a6281 into main Jan 24, 2025
39 checks passed
@dreamorosi dreamorosi deleted the fix/parser_min_array_length branch January 24, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser This item relates to the Parser Utility size/L PRs between 100-499 LOC tests PRs that add or change tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: parser built-in schema accept empty Records array
2 participants