apache / apache/openwhisk

Entity "update" vs "create" API behavior

Open
#1,171 13 comments 0 reactions 0 assignees View on GitHub
API usability
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

Looking for UX input regarding the expected behavior of the wsk CLI "update" commands:
1. Update an existing item; create the item if it does not exist
-OR-
2. Update an existing item; fail if the item does not exist

The former provides a shortcut way to always make sure a particular item is set the way you want it; while the latter will catch accidental name typos or incorrect expectations.

Currently, the online help describes option (2); however, the actual behavior is (1).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.