Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/Entry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
WIP

### Entry

There is often a Time where given API action requires multiple steps to be fulfilled.
One of the more prominent examples would be removong items from a prefilled container, where user would first have to check if given record exists in the container and then again look it up to remove it. That problem of extra unnecesarry lookup is easy to mitigate by a) adding more (composite)operations to the API like FindRemove, AddOrUpdate, and sometimes b) pretend the operation is happening but let the user know when it didn't, such as bool Remove(item) does.
First solution leads to API explosion of sorts.
This design of separate operations composited outside of API might lead to many annoying problems
Even in most basic example above - our code would have to find :While that is quite straightforward operation which is often exposed as joined operation add_overwrite