Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCustom service events #111
Comments
|
The default behaviour for The default for events should be to not dispatch at all until you add a filter. Unfortunately that would be a breaking change and could only be introduced in version 2. |
|
Maybe the current default behavior for events could be moved into a plugin? Maybe a dedicated page for creating plugin would be a good thing for the new site. I need to re-read the entire site. It seems like quite a bit has been added since my last read. |
|
Actually I think for Feathers 2, the providers ( For 1.1 we'll have to add this into the core and also keep backwards compatibility with the |
Fix AST transformation when there is another expression
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
As discussed in #108 it would be nice to allow custom events on services. As an example, a payment service might want to notify the user about the process during payments by emitting
logevents:And on the client we could do:
And also generalize event filtering which helps decide to decide what events to dispatch where: