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

fix: respect nullable on array items with --strict-nullable

#2713Merged
Comparing
fix/strict-nullable-array-items
(
9d10b39
) with
main
(
e3a2cf5
)
CodSpeed Performance Gauge
0%
Untouched
52
New
1
Skipped
10

Benchmarks

63 total
test_main_nullable_array_items_strict_nullable
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
N/A
N/A54.6 ms
test_main_yaml
tests/main/test_main_yaml.py
CodSpeed Performance Gauge
0%
35.2 ms35.1 ms
test_main_jsonschema_root_model_default_value_branches
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
73.2 ms73.1 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
34 ms33.9 ms
test_use_default
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
120.1 ms119.9 ms
test_main_bundled_schema_with_id_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68 ms67.9 ms
test_main
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
119.1 ms118.9 ms
test_main_jsonschema_root_model_ordering[extra_args1-jsonschema_root_model_ordering_keep_model_order.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
132.7 ms132.5 ms
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
41.6 ms41.5 ms
test_main_jsonschema_root_model_ordering[extra_args0-jsonschema_root_model_ordering.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
133.5 ms133.3 ms
test_main_jsonschema_reserved_field_name[dataclasses.dataclass-reserved_field_name_schema_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
30.2 ms30.1 ms
test_main_allof_root_model_constraints_merge
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
283.5 ms283.1 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
44.8 ms44.8 ms
test_force_optional
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
130.3 ms130.2 ms
test_main_jsonschema_reserved_field_name[typing.TypedDict-reserved_field_name_schema_typed_dict.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
29.5 ms29.4 ms
test_main_jsonschema_extras_in_oneof
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
100.6 ms100.5 ms
test_main_use_frozen_field[pydantic.BaseModel-use_frozen_field_v1.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
47.2 ms47.1 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
53.6 ms53.5 ms
test_main_jsonschema_reserved_field_name[pydantic_v2.BaseModel-reserved_field_name_schema_pydantic.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
46.1 ms46 ms
test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
73.2 ms73.1 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
39.2 ms39.1 ms
test_main_use_frozen_field[pydantic_v2.BaseModel-use_frozen_field_v2.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.9 ms52.8 ms
test_main_use_frozen_field_no_readonly
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
63.7 ms63.6 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.9 ms52.8 ms
test_main_strict_types
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.4 ms70.4 ms

Commits

Click on a commit to change the comparison range
Base
main
e3a2cf5
+0.07%
fix: respect nullable on array items with --strict-nullable
9d10b39
5 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs