[swift5] fix compile error from Alamofire 5.10 - cast Parameter type to avoid recursion - #19908
Conversation
|
@4brunu here is the PR for this issue |
|
This is an interesting one in terms of testing. The tests all pass because the generated projects and spm files all have Alamofire pinned to 5.9.1 or lower and the issue only appears in 5.10 I wasn't sure it was correct to update all those versions in the checked in files. |
|
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. |
For now let's not update the alamofire version, since this works with both versions of it. |
|
By the way there is a new swift6 generator if you want to give it a try 👍 |
|
Thanks for the heads up about my commit user! I'll checkout the swift6 generator as well. |
|
Thanks for your contribution. |
Type change in Alamofire 5.10 caused unintended recursive call.
This change adds a type cast to force the correct function call signature.
PR checklist
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)