Added changes description

This commit is contained in:
Alex Root Junior 2023-07-11 23:36:50 +03:00
parent 2da32730ab
commit 88e6e67b46
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

7
CHANGES/1213.bugfix.rst Normal file
View file

@ -0,0 +1,7 @@
Fixed the serialization error associated with nested subtypes
like InputMedia, ChatMember, etc.
The previously generated code resulted in an invalid schema under pydantic v2,
which has stricter type parsing.
Hence, subtypes without the specification of all subtype unions were generating
an empty object. This has been rectified now.