Skip to content

feat: add compute_field support#8193

Closed
leandrodamascena wants to merge 1 commit intodevelopfrom
feat/8169
Closed

feat: add compute_field support#8193
leandrodamascena wants to merge 1 commit intodevelopfrom
feat/8169

Conversation

@leandrodamascena
Copy link
Copy Markdown
Contributor

Issue number: closes #8186

Summary

ALB resolver converts body=None to body="" to prevent ALB 5xx errors, but this conversion happens before the response validation middleware runs. Validation then sees "" instead of None and fails with none_required for handlers returning -> None.

Changes

Please provide a summary of what's being changed

User experience

Please share what the user experience looks like before and after this change


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.

@leandrodamascena leandrodamascena requested a review from a team as a code owner May 2, 2026 15:18
@leandrodamascena leandrodamascena requested a review from svozza May 2, 2026 15:18
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 2, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event_handlers size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Inconsistent validation of empty responses between ALBResolver and APIGatewayHttpResolver

1 participant