I wonder if it’s possible to generate the server side, too. Like I will implement the same interface on the server to do actual logic, and compiler plugin will generate all the routing and parameters unpacking and send out the result.
Generated API could be as simple as
handle will be generated function, resolved by interface type and receiving instance of interface implementation
05/06/2023, 10:50 AM
I think it should be possible to write such a tool