Commit f31ea17
fix(event-handler): handle aliased parameters e.g., Query(alias="categoryType") (aws-powertools#3766)
* fix(event-handler): correctly handle aliased parameters
* fix(parameters): make cache aware of single vs multiple calls
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* chore: cleanup, add test for single and nested
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* chore: no-op exception suppress
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* fix: use local event, not global to prevent race condition
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
* Revert "chore: no-op exception suppress"
This reverts commit f79dffc.
---------
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
Co-authored-by: Heitor Lessa <lessa@amazon.com>
Co-authored-by: heitorlessa <lessa@amazon.co.uk>1 parent e46e32e commit f31ea17
2 files changed
Lines changed: 24 additions & 2 deletions
File tree
- aws_lambda_powertools/event_handler/middlewares
- tests/functional/event_handler
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
1018 | 1020 | | |
1019 | 1021 | | |
1020 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
0 commit comments