Generator dont check for query names
Closed this issue · 3 comments
valentasm1 commented
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);
valentasm1 commented
Workaround would be just name languageCulture > culture
Dreamescaper commented
Thanks for reporting!
I've published updated version.
valentasm1 commented
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 .