Skip to content

Preserve omitted input fields in DTO hydration#1246

Open
kifril-ltd wants to merge 1 commit intooverblog:masterfrom
kifril-ltd:omittable-input-fields
Open

Preserve omitted input fields in DTO hydration#1246
kifril-ltd wants to merge 1 commit intooverblog:masterfrom
kifril-ltd:omittable-input-fields

Conversation

@kifril-ltd
Copy link
Copy Markdown

@kifril-ltd kifril-ltd commented Apr 28, 2026

Summary

  • add an Omittable value object for input DTO fields
  • preserve omitted vs explicit null vs provided value during ArgumentsTransformer hydration
  • document the opt-in DTO usage and cover it with transformer tests

Closes #1245

@kifril-ltd kifril-ltd force-pushed the omittable-input-fields branch from 7949362 to 6669908 Compare April 28, 2026 07:33
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.

Preserve omitted vs explicit null fields when hydrating input DTOs

2 participants