4

Is there any way to expose custom methods (aside from the defaults: [get, find, update, patch, remove]) in a generic service? I have already tried creating one, but it seems to be not accessible when I tried to use it.

Giovanni Lobitos
  • 852
  • 7
  • 19
  • 2
    Feathers does not allow to do that for several good reasons. See https://docs.feathersjs.com/clients/readme.html#caveats for a more detailed explanation. – Daff Jan 23 '17 at 16:50
  • Custom service for the each custom method works well. Thank you so much for the good documentation. – Giovanni Lobitos Jan 24 '17 at 01:44
  • This page https://docs.feathersjs.com/clients/readme.html#caveats is not online anymore. Is there a replacement you know of, @Daff? I am on the same situation and would like to understand how this works and what are my other possibilities. – Ed de Almeida Oct 28 '19 at 18:08
  • https://docs.feathersjs.com/help/faq.html#how-do-i-create-custom-methods – Daff Oct 28 '19 at 18:28

0 Answers0