Avatar for the koxudaxi user
koxudaxi
datamodel-code-generator
BlogDocsChangelog

Fix dataclass field ordering conflict when inheriting from parent with default fields

#2664Merged
Comparing
fix/dataclass-inheritance-field-ordering
(
35df298
) with
main
(
f7ffbd0
)
CodSpeed Performance Gauge
0%
Untouched
50
Skipped
3

Benchmarks

3 total
test_main_nested_directory
tests/main/jsonschema/test_main_jsonschema.py
Skipped
247.9 ms*
test_main_strict_types_all_with_field_constraints
tests/main/jsonschema/test_main_jsonschema.py
Skipped
81 ms*
test_main_jsonschema_complex_any_of
tests/main/jsonschema/test_main_jsonschema.py
Skipped
68 ms*

Commits

Click on a commit to change the comparison range
Base
main
f7ffbd0
-0.11%
Fix dataclass field ordering for inheritance and add warning for conflicts
4691e1c
5 months ago
by koxudaxi
+0.02%
Fix dataclass inherited info method to be a class method
35df298
5 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs