Skip to content

fix: type HttpInputParameters.readTimeOut as number - #181

Open
Apeksha9389 wants to merge 2 commits into
conductor-oss:mainfrom
Apeksha9389:fix/http-readtimeout-number
Open

Apeksha9389 wants to merge 2 commits into
conductor-oss:mainfrom
Apeksha9389:fix/http-readtimeout-number

Conversation

@Apeksha9389

Copy link
Copy Markdown

Fixes #138

HttpInputParameters.readTimeOut was typed as string, but the server reads it as an integer (ms) and the sibling connectionTimeOut is already a number. This changes it to number, so readTimeOut: 5000 type-checks.

Testing: added a factory test that builds an HTTP task with numeric timeouts; without the change tsc --noEmit reports TS2322 on it. Unit suite: 1588/1588 passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_016sX8o4pDVYxuMvdpaJF4X3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HttpInputParameters.readTimeOut typed as string — server expects integer (ms)

1 participant