OrderedMap.Get()
should return Value
instead of Storable
#317
Labels
OrderedMap.Get()
should return Value
instead of Storable
#317
Issue To Be Solved
Currently,
OrderedMap.Get()
returnsStorable
and client converts returnedStorable
toValue
. However, it only makes sense to returnStorable
if client needs to remove register (slab) byStorageID
(StorageIDStorable).Get()
should only provideValue
without possibility of client manipulating the underlyingStorable
.Corresponding issue for
Array.Get()
is #316.Suggested Solution
Change
OrderedMap.Get()
to returnValue
instead ofStorable
.This is prep work for Atree Register Inlining (#292) and will also harden the API.
The text was updated successfully, but these errors were encountered: