We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b59255 commit 68d2de2Copy full SHA for 68d2de2
src/firebase_functions/dataconnect_fn.py
@@ -208,7 +208,8 @@ def _dataconnect_endpoint_handler(
208
raw: _ce.CloudEvent,
209
) -> None:
210
# Currently, only mutationExecuted is supported
211
- assert event_type == _event_type_mutation_executed
+ if event_type != _event_type_mutation_executed:
212
+ raise NotImplementedError(f"Unsupported event type: {event_type}. Only {_event_type_mutation_executed} is currently supported.")
213
214
event_attributes = raw._get_attributes()
215
event_data: _typing.Any = raw.get_data()
0 commit comments