Attach all handlers for a ServiceImplementation to any existing Fastify server.
import fastify from 'fastify';const server = fastify();attachService(service, myServiceImplementation);await server.listen({port: 3000}); Copy
import fastify from 'fastify';const server = fastify();attachService(service, myServiceImplementation);await server.listen({port: 3000});
@rest-vir/run-service
Attach all handlers for a ServiceImplementation to any existing Fastify server.