godotengine / godotengine/godot
signal `HTTPRequest.request_completed(result: int, ...)` has argument mistyped as `int`, but should be `HTTPRequest.Result`
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.7 beta 1
### System information
windows 11
### Issue description
`HTTPRequest` node:
As you can see the signal passes the result as an `int` but it sould be a `Result`.
I thought it was the same as #118184 but [apparently not](https://github.com/godotengine/godot/issues/118184#issuecomment-4386769715).
### Steps to reproduce
look at the docs
### Minimal reproduction project (MRP)
any
Contributor guide
Research direction
Start with the HTTPRequest node documentation and the request_completed signal signature shown in the issue. Compare the result argument's displayed type with HTTPRequest.Result, then update the documented type and verify that the signal reference shows the corrected signature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100