-
Notifications
You must be signed in to change notification settings - Fork 22
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
Requires.NotEmpty(Guid) #49
Comments
I can't find any evidence that that API used to be in this library. At least as of 2.4.22, it seems the Requires class didn't have that method. The vs-validation library does define that method. |
Correct, |
That's never going to happen. vs-validation is used in many Microsoft components and thus has a high backward compat obligation. |
As I was looking at vs-validation for the other PR, I noticed that it's not just |
I'm in favor of copying the following to vs-validation: Let us not copy over
|
That all makes sense. I'll have a PR shortly for that. Should we also add |
Let's leave NotEmpty(Guid) alone. It's in vs-validation and we won't be obsoleting it there. |
The
Requires.NotEmpty(Guid)
method here was replaced withRequires.NotDefault
, which creates an inconsistency with Microsoft.VisualStudio.Validation. Should we update that repo to match? This is tangentially related to #38.The text was updated successfully, but these errors were encountered: