pydantic-core
pydantic-core copied to clipboard
Fix str subclass validation for enums
Fix https://github.com/pydantic/pydantic/issues/9265
CodSpeed Performance Report
Merging #1273 will not alter performance
Comparing enum_fixes (cad59ca) with main (b777774)
Summary
✅ 155 untouched benchmarks
Alright, so we want to move forward with this by modifying how we validate enums (moving away from the literal validation logic). Definitely something we still want to fix, but going to wait on 2.7.2 for this one 👍