ktorio/ktor

ktor-locations for (multiplatform) clients.

Ouverte

#1 304 ouverte le 28 août 2019

 (4 commentaires) (7 réactions) (1 personne assignée)Kotlin (1 254 forks)batch import
featurehelp wanted

Métriques du dépôt

Stars
 (14 408 étoiles)
Métriques de merge PR
 (Merge moyen 24j 16h) (58 PRs mergées en 30 j)

Description

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.

Guide contributeur