aiogram/CHANGES
Alex Root Junior 04bd0c9e7c
Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290)
* Ensure base type validation can handle non-dictionary values

The update introduces a condition to verify whether the values being validated are a dictionary before attempting to handle UNSET_TYPE in the aiogram base type. This adjustment helps to prevent potential errors or incorrect validation when non-dictionary values are faced.

* Added a test case for non-dictionary input in remove_unset method

* Added changelog

* Fixed tests
2023-08-29 02:01:54 +03:00
..
.template.rst.jinja2 Update towncrier config 2021-08-03 23:50:10 +03:00
1277.bugfix.rst Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
1281.bugfix.rst #1281 Fix magic operation .as_ for values interpreted as False (#1283) 2023-08-26 22:33:32 +03:00
1282.bugfix.rst Fix markdown italic quote (#1282) 2023-08-26 22:31:30 +03:00
1284.bugfix.rst Fixed method :code:Message.send_copy for stickers (#1284) 2023-08-26 23:24:51 +03:00
1286.bugfix.rst Fix Message.send_copy method for stories (#1287) 2023-08-28 22:32:11 +03:00
1290.bugfix.rst Fixed error overlapping when validation error is caused by remove_unset root validator in base types and methods. (#1290) 2023-08-29 02:01:54 +03:00