You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the EmbeddedSDK or the execute method, Kuzzle does not generate events and thus no pipes or hooks will be triggered.
In some use case, developers have a specific business logic in those pipes and hooks and may want to trigger them when executing an action from the framework.
We also need some kind of loop detection system to prevent actions triggering themselves infinitely.
Example usecase
A pipe who is enriching documents and that need to be triggered when writing documents from the framework.
Possible solution (optional)
this.sdk.withEvents : execute an action as it comes from the outside and triggering every API events
Some kind of execute() method who takes a RequestPayload
The text was updated successfully, but these errors were encountered:
Feature description
When using the EmbeddedSDK or the
execute
method, Kuzzle does not generate events and thus no pipes or hooks will be triggered.In some use case, developers have a specific business logic in those pipes and hooks and may want to trigger them when executing an action from the framework.
We also need some kind of loop detection system to prevent actions triggering themselves infinitely.
Example usecase
A pipe who is enriching documents and that need to be triggered when writing documents from the framework.
Possible solution (optional)
this.sdk.withEvents
: execute an action as it comes from the outside and triggering every API eventsSome kind of
execute()
method who takes aRequestPayload
The text was updated successfully, but these errors were encountered: