Skip to content

errorCodes in CodeFixRequestArgs is non-optional#25815

Merged
1 commit merged into
masterfrom
errorCodes
Jul 20, 2018
Merged

errorCodes in CodeFixRequestArgs is non-optional#25815
1 commit merged into
masterfrom
errorCodes

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 20, 2018

We crash if it's missing, so might as well make it required.
Also removed a silly optimization -- clients shouldn't (and based on my testing, don't) bother calling with an empty errorCodes list anyway.

@ghost ghost requested review from amcasey and mhegazy July 20, 2018 15:25
Copy link
Copy Markdown
Member

@amcasey amcasey left a comment

Choose a reason for hiding this comment

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

VS doesn't pass null now and, as far as I can tell, did not do so in the past.

@ghost ghost merged commit b21c1fd into master Jul 20, 2018
@ghost ghost deleted the errorCodes branch July 20, 2018 18:10
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants