Skip to content

feat(SignalDataItem): allow default values of None for data class when marked as Optional#14

Merged
matosys merged 2 commits intomainfrom
feat/allow-default-value-of-None-for-optional-fields
Mar 12, 2026
Merged

feat(SignalDataItem): allow default values of None for data class when marked as Optional#14
matosys merged 2 commits intomainfrom
feat/allow-default-value-of-None-for-optional-fields

Conversation

@matosys
Copy link
Copy Markdown
Contributor

@matosys matosys commented Mar 12, 2026

Default values are forbidden for data items to ensure that it never causes uncertainty when he receives data automatically. However, there should be one exception, and that is when an optional field receives a None value.

@matosys matosys force-pushed the feat/allow-default-value-of-None-for-optional-fields branch from 3cd8d45 to 61708f6 Compare March 12, 2026 14:00
@matosys matosys merged commit 65b2fb2 into main Mar 12, 2026
16 checks passed
@matosys matosys deleted the feat/allow-default-value-of-None-for-optional-fields branch March 12, 2026 14:02
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