kalisio / feathers-distributed

Distribute your Feathers services as microservices
MIT License
141 stars 26 forks source link

Service events emitted twice #118

Closed claustres closed 1 year ago

claustres commented 1 year ago

Steps to reproduce

Call a service method on a distributed service.

Expected behavior

Service method event should be raised once.

Actual behavior

Service method event is raised twice, probably once by the remote service and once by the local proxy service.

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working): 2.2.1

NodeJS version: 16

Operating System: Linux

claustres commented 1 year ago

It appears that we should not set default events in remote service options as Feathers now automatically adds it.