Skip to content

feat: Adds configuration for default strict and null value behaviour.#22

Merged
crtl merged 2 commits into2.xfrom
options-and-default-null
Feb 11, 2026
Merged

feat: Adds configuration for default strict and null value behaviour.#22
crtl merged 2 commits into2.xfrom
options-and-default-null

Conversation

@crtl
Copy link
Owner

@crtl crtl commented Feb 11, 2026

Description

Please include a summary of the changes and the related issue.

Closes #...

What type of PR is this? (check all applicable)

  • Bug Fix
  • Feature
  • Refactor
  • Deprecation
  • Breaking Change
  • Documentation Update
  • CI

Checklist

  • I have made corresponding changes to the documentation

crtl added 2 commits February 11, 2026 14:06
…` options to set default strict mode and null values.

- Adds option defaultNull to RequestDto which controls whether fields are assigned null if no data is provided. If true properties will receive null by default.
- Adds new bundle configuration to allow configuration default_strict and default_null globally.
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@crtl crtl merged commit 5d3dd02 into 2.x Feb 11, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant