-
I'm not too sure about the verbs, it seems like "set" and "remove" doesn't fit everywhere, e.g. when adding a new user, or trusting a node. Any opinions? I'll update the table once we agree on things. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
I'm also unsure about verbs, I'm wondering about something like
|
Beta Was this translation helpful? Give feedback.
-
After more discussion with @achamayou we came up with the following: Idempotency:
Naming rules:
Map-based proposals require a key.
|
Beta Was this translation helpful? Give feedback.
After more discussion with @achamayou we came up with the following:
Idempotency:
Naming rules:
(set|remove)_*
patch_*
with JSON Merge Patch payload(add|remove)_*
trigger_*
transition_*
Map-based proposals require a key.
Set-based proposals add/remove from a set.
Actions always trigger an operation. They are idempotent from a result point of view since they can be repeated and will not fail…