API Discussion: Parameters DSL Update
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 14.5k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
### Ktor Version
`ktor-http` 1.1.5 and below
### Feedback
Add a `parameters { ... }` builder DSL to replace the less discoverable `Parameters.build { ... }` companion object function in favor of being more consistent with the stdlib.
`sequenceOf(1, 2, 3)`/`listOf(1, 2, 3)` -> `parametersOf("first", "a")`
`sequence { ... }` -> `parameters { ... }`
Contributor guide
Assessment
This issue has not been assessed yet.