Is all fields mandatory? #640
Unanswered
captainDuckay
asked this question in
Q&A
Replies: 1 comment
-
if you verify it is not required, please submit a PR changing the optionality of the field. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a big fan of typescript.
According to the contact interface, all but 1 property is mandatory.
Is this by design? If a contact has doesn't have a middlename, should that be demonstrated by an empty string, instead of types null or undefined?
I can always ignore the ignore the error, by // @ts-ignore, but it doesn't seem right?
Beta Was this translation helpful? Give feedback.
All reactions