ktorio/ktor

ktor-locations for (multiplatform) clients.

Offen

#1.304 geöffnet am 28.08.2019

 (4 Kommentare) (7 Reaktionen) (1 zugewiesene Person)Kotlin (1.254 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (14.408 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 24T 16h) (58 gemergte PRs in 30 T)

Beschreibung

Subsystem Locations

Is your feature request related to a problem? Please describe. When writing a multiplatform frontend (i.e. Android, iOS) using ktor-client, one has to use strings for get() / update() / delete() calls to a (Ktor-based) backend. This is tedious and error-prone and replicates what had to tbe done for the backend.

Describe the solution you'd like ktor-locations is available for clients as well and can be used in multiplatform projects.

Motivation to include to ktor Clients using ktor-client would benefit from using the same type-safe API path types that can be used for backends. This would increase code re-use and allows for easier refactoring.

Contributor Guide