Skip to content

Conversation

@JoshLove-msft
Copy link
Member

No description provided.

get
{
return _id;
return _id!;
Copy link
Contributor

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?

Copy link
Member Author

@JoshLove-msft JoshLove-msft Mar 5, 2021

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@KrzysztofCwalina KrzysztofCwalina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APIs look good.

@JoshLove-msft JoshLove-msft enabled auto-merge (squash) March 5, 2021 19:48
@JoshLove-msft JoshLove-msft merged commit aeb7bd9 into Azure:master Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants