You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's a mess of trait bounds over the different containers. Raw iterators don't need KeyDeserialize, by example, and they usually have that restriction.
Do a full analysis of the required trait bounds for raw and typed iterators, for all the iterable containers:
Map.
SnapshotMap.
IndexedMap.
IndexedSnapshotMap.
Extend that to the indexes:
UniqueIndex.
MultiIndex.
Analyse also the trait bounds over all the public methods of these containers, so that they don't list extra / unneeded bounds. key() by example, requires PrimaryKey but not KeyDeserializable.
Also, the Bounder trait bound is optional. It can be imported through an use clause when needed, but don't need to be listed as a bound over the containers' methods (see CosmWasm/cw-plus#692).
The text was updated successfully, but these errors were encountered:
Currently there's a mess of trait bounds over the different containers. Raw iterators don't need
KeyDeserialize
, by example, and they usually have that restriction.Do a full analysis of the required trait bounds for raw and typed iterators, for all the iterable containers:
Map
.SnapshotMap
.IndexedMap
.IndexedSnapshotMap
.Extend that to the indexes:
UniqueIndex
.MultiIndex
.Analyse also the trait bounds over all the public methods of these containers, so that they don't list extra / unneeded bounds.
key()
by example, requiresPrimaryKey
but notKeyDeserializable
.Also, the
Bounder
trait bound is optional. It can be imported through anuse
clause when needed, but don't need to be listed as a bound over the containers' methods (see CosmWasm/cw-plus#692).The text was updated successfully, but these errors were encountered: