-
Notifications
You must be signed in to change notification settings - Fork 401
Add support for DateOnly and TimeOnly on .Net 6 (#1732). #1734
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
Conversation
* Add support of IPAddress and IPEndpoint arguments * IPEndPoint.TryParse isn't supported until .Net 7 * TryParse should work from .Net Core >= 3.1 * Add missing [Fact] attributes * Remove nullable IPAddress/IPEndPoint tests
@@ -96,7 +110,7 @@ internal static partial class ArgumentConverter | |||
|
|||
[typeof(FileSystemInfo)] = (string path, out object? value) => | |||
{ | |||
if (String.IsNullOrEmpty(path)) | |||
if (string.IsNullOrEmpty(path)) |
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.
Good call on this change.
Could you please rebase this? |
I tried but I think I messed up somewhere? Should I close this PR and create a new? |
Did it work @jonsequitur ? I hope you didn't have too much work with it? |
This PR adds support for
DateOnly
andTimeOnly
data types in theArgumentConverter
.