kostia-official / feathers-amqp-events

MIT License
5 stars 2 forks source link

Adding features to allow and ignore specific services #5

Closed tiagosantos967 closed 6 years ago

tiagosantos967 commented 6 years ago

Hi @kozzztya ,

In my team we have a high number of services and we don't need / want to publish all of them.

This pull request adds 2 features:

Please consider the new features for the library.

Thanks, Tiago

kostia-official commented 6 years ago

@tiagosantos967 Thank you for your contribution. It looks like a good idea. What do you think about using filter and reject lodash functions for cleaner code?

tiagosantos967 commented 6 years ago

@kozzztya thanks for the feedback. Changes have been made.

Decided to go for the pickBy since app.services is not an array of jsons, where filter and reject make more sense to use.

Or are you did you envision it another way?

kostia-official commented 6 years ago

Hi! Sorry, I don't have enough time for reviewing this PR. Everything looks great. Could you just bump a version to 1.1.0 and I'll publish it.

tiagosantos967 commented 6 years ago

Done! Thanks