Implicit argument conversions for some types #3983
robertcoltheart
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How hard would it be to have argument conversions for some types?
The use case I'm thinking of is having a DateTime parameter and passing in a string, since DateTime cannot be used as an argument. There might be other cases but this is just something I ran into today.
Or is this a complete non-starter because of source generation? Of course the alternative is to just use method data sources.
Beta Was this translation helpful? Give feedback.
All reactions