In version 2.0.1. A convenience initializer was added for storing items that conformed to Identifiable where ID was a UUID. This was a small, but great improvement for developer convenience, however the previewStore was not updated to provide similar functionality.
This PR simply extends previewStore with two additional functions that eschew the need to specify an ID key path when the item is Identifiable where ID is either a String or a UUID
In version
2.0.1
. A convenience initializer was added for storing items that conformed toIdentifiable
whereID
was aUUID
. This was a small, but great improvement for developer convenience, however thepreviewStore
was not updated to provide similar functionality.This PR simply extends
previewStore
with two additional functions that eschew the need to specify an ID key path when the item isIdentifiable
whereID
is either aString
or aUUID