You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add field-level descriptions to FieldSchema (#1087)
* feat: Add field-level descriptions to FieldSchema
- Add description field to Rust FieldSchema struct (Arc<str>)
- Update Python FieldSchema to include description field
- Extract Pydantic field descriptions during schema creation
- Update JSON schema builder to include field descriptions
- Add comprehensive tests for field description functionality
Resolves#1074
* fix: concatenate field and type descriptions instead of overwriting
- Modified set_description method to append descriptions with newline separator
- Fixed description overwrite issue where field-level descriptions would replace type-level descriptions
- Added description: None to all FieldSchema initializations to satisfy new field requirement
- Added comprehensive test to verify description concatenation works correctly
- All existing tests pass (129 passed, 0 failed) with no regressions detected
- Implementation handles both extract_descriptions: true and false scenarios
- Field-level descriptions now properly concatenate with type-level descriptions using newline separator
- Resolves reviewer feedback about description overwrite in PR #1087
- Changes maintain backward compatibility while fixing the core issue
- Ready for review and testing by the maintainer team
* pre-commit pass
0 commit comments