Closed Benjamin-T closed 6 months ago
Hi @Benjamin-T, thanks a lot for the report! I see what's going wrong (griffe-pydantic simply didn't expect to see non-strings arguments inside @field_validator
decorators). I should be able to fix this before next week :slightly_smiling_face:
Fixed, tackling next issue before release.
Description of the bug
When the example model is modified to have a field_validator with keyword argument
mode='before'
griffe crashes.To Reproduce
Full traceback
Expected behavior
render correctly
Environment information