#Nullable and Records #3999
Answered
by
HaloFour
TonyValenti
asked this question in
Q&A
-
Sample Code:
What do I get the warnings "Non-nullable property ___ must contain a non-null value...."? I thought that records would ensure that those properties were set prior to use. |
Beta Was this translation helpful? Give feedback.
Answered by
HaloFour
Oct 12, 2020
Replies: 1 comment 1 reply
-
See #3630 The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TonyValenti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #3630
The
init
keyword doesn't require that the property must be initialized, only that the property can only be set during initialization.