Dreamescaper/GenerateAspNetCoreClient

Generator dont check for query names

Closed this issue · 3 comments

Lets say we have Action like this

GetThing(string language, [FromQuery(Name = "culture")] string? languageCulture)

It generates

GetThing(string language, string languageCulture = null);

which should be

GetThing(string language, [AliasAs("culture")]  string languageCulture = null);

Or

GetThing(string language, string culture= null);

Workaround would be just name languageCulture > culture

Thanks for reporting!
I've published updated version.

I wanted to complain why you closed this without fixing, since it looked to fast to fix it in that short time. After double check i realised that you fixed it. Super fast. Thank you .