-
Is there a way to filter calls to @kopf.on.event() handlers by event type? E.g. so the only handler is only called with events of type 'DELETED'? I tried adding field='type' and value='DELETED', but that did not work. And I didn't really expect it to since I believe those filters are applied to fields of object that caused the event, not the event itself. I don't see any way to do this, but maybe I'm missing something. |
Beta Was this translation helpful? Give feedback.
Answered by
nolar
Jul 13, 2023
Replies: 1 comment 1 reply
-
Using the callback filter “when=“? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hapatrick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the callback filter “when=“?