Thread
#multiplatform
    c

    CLOVIS

    7 months ago
    I wonder if it's possible to exploit
    expect/actual
    into checking at compile-time if all endpoints are implemented. Eg, having a common module in which you declare the different endpoints, having a client-side module that depends on it and must implement all the endpoints, and the same server-side. The difficulty is that the implementation on the client-side and the server-side will not look the same at all, and the server-side needs to know the list of endpoints so they can be registered in Ktor
    hfhbd

    hfhbd

    7 months ago
    regarding ktor: https://ktor.io/docs/locations.html will be Multiplatform in 2.0