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
int array parameter issue #4840
Comments
@RicoSuter may you please help our APIs are broken now. |
Hi, I've noticed the same and cant get around it with any settings or options. Hoping it will be fixed soon. In the 13.20 release this works though. |
This is broken on our side too, seems like major bug to not be adressed asap |
Hello
I have an action in controller that have array parameter with the following signature.
Task<IEnumerable<ChildBasic>> GetChildrenBasicInfo([FromRoute] int[] childrenIds)
Version 14 of NwagStudio has a problem generating the client it is generating as follows:
`
public virtual async System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable> GetChildrenBasicInfoAsync(System.Collections.Generic.IEnumerable childrenIds, System.Threading.CancellationToken cancellationToken)
{
if (childrenIds == null)
throw new System.ArgumentNullException("childrenIds");
`
It is using IEnumerable as parameter and then using ".Length" against it, the IEnumerable does not have .Length property.
Kindly advise.
The text was updated successfully, but these errors were encountered: