Comment

Comment by onetimeuse92304

Well, technically, you can construct the microservices preserving type safety. You can have an interface with two implementations

- on the service provider, the implementation provides the actual functionality,

- on the client, the implementation of the interface is just a stub connecting to the actual service provider.

Thus you can sort of provide separation of services as an implementation detail.

However in practice very few projects elect to do this.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton