FeatureFuel
1

Emit Events control via the public API (and directus/sdk)

Source: directus/directus#23570 · opened by @sonrai-davo
Summary When manipulating data in collections via the public API, it would be good to have control over whether to emit events or not. This is currently available in Extensions ( with using { emitEvents: false } ), and through Flows and data operations in Design Studio. Basic Example If I am writing data to a collection, sometimes I do not want events emitted so as not to trigger EventHook flows. Writing data to collections is done through the API (e.g. via the SDK). For example you may be posting a new blog article that you don't want EventHooks to be triggered on; Motivation I have EventHooks which run in certain circumstances on various collection events. There are some functions using the API that must bypass these EventHooks in order coplete successfully. Detailed Design In the API: Allow a query paramater for emitEvents with a boolean value. In the SDK: Allow emitEvents as a functional parameter for Item and User functions. Requirements List Must Have: …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests