Closed nix010 closed 3 weeks ago
please review
All modified and coverable lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!
Comparing nix010:fix-field-serializer-not-have-exclude-and-include
(e61f069) with main
(34d789f)
✅ 155
untouched benchmarks
@nix010,
Thanks for all of your awesome contributions! Just FYI, we have a slack you can join here for more rapid feedback / discussion :). https://join.slack.com/t/pydanticlogfire/shared_invite/zt-2b57ljub4-936siSpHANKxoY4dna7qng
Agreed that a special-case here seems suspicious to me.
As per https://github.com/pydantic/pydantic/issues/9538#issuecomment-2158480313 I need convincing that the original behaviour is unwanted.
Closing as resolved according to https://github.com/pydantic/pydantic/issues/9538#issuecomment-2158480313, thanks @davidhewitt !
Change Summary
Fix the issue raised in pydantic repo #1319
Related issue number
fix #1319
Checklist
pydantic-core
(except for expected changes)Selected Reviewer: @adriangb