Closed umashankarsharma closed 5 years ago
Could you try making that a List
Hi James,
You are quick :) . I wanted to do that but Unfortunately , I could not change the contract of API's :(.
Thanks a lot.
Uma
You caught me at my email :)
Changing it to a list won't change the external contract (I assume that's what you mean) - and if you're passing the ids down to some internal service via a command handler you should be able to do a .ToArray on it.
Thanks, James. Let me try it.
The "List
public dynamic Ids { get; set; }
This works.
Thanks a lot, James.
I'm getting this issue as well. I'm on the latest beta
Hi @CodeRevver - do you mean with an array?
I've just rerun the integration tests and the scenario I'm expecting to work is working. That is with a command like the following:
public class HttpListQueryParamCommand : ICommand<int>
{
public List<int> Value { get; set; }
}
If you have a different variant on this could you post it here for me please! See if I can get to the bottom of this as it sounds like there is something I might be missing.
@JamesRandall I've reproduced it here:
Thanks for getting back to us so quickly - it's appreciated.
Thanks for that - I see what's wrong now. I'll get a fix out shortly.
Thanks both for reporting it and helping me get to the bottom of it!
I've resolved this and pushed an update to Nuget v3.0.13-beta5.
Thanks again for your help.
Hi James,
I am giving something like below in my model class. but compiler shows the below issue.
Unhandled Exception: FunctionMonkey.ConfigurationException: CS0117:'string' does not contain a definition for 'TryParse' SourceFile