Commit e340e7f
Refactor: factorize IgnoredProperties extension in Document class
Move `extend IgnoredProperties` from NestedDocument and Base classes to their parent Document class to eliminate code duplication. Since both NestedDocument and Base inherit from Document, they automatically gain access to the ignored_properties functionality without redundant extend statements.
This refactoring improves code maintainability and ensures any future Document subclasses will also have access to ignored_properties.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ef83daa commit e340e7f
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
114 | | - | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
| |||
0 commit comments