-
Notifications
You must be signed in to change notification settings - Fork 5.1k
API updates #19250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API updates #19250
Conversation
| get | ||
| { | ||
| return _id; | ||
| return _id!; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we decided on throwing, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the decision was to say that this could be null, if using skipValidation, i.e. if customers have nullable references enabled AND they are skipping validation, we no longer guarantee that the nullability is 100% accurate. There is no reason to throw if the customer wants to get the Id though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KrzysztofCwalina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
APIs look good.
No description provided.