Skip to content

errorCodes in CodeFixRequestArgs is non-optional #25815

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

Merged
1 commit merged into from
Jul 20, 2018
Merged

errorCodes in CodeFixRequestArgs is non-optional #25815

1 commit merged into from
Jul 20, 2018

Conversation

ghost
Copy link

@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
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
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants