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
The "wrapper" storages we have now with FlaggedStorage and ChangedStorage aren't very flexible. Since I'm sure someone down the line will want to check for changes for some component that doesn't have the wrapper storage. (Since I've run into this plenty of times already when trying to implement UI stuff with specs to the point of where I just add the FlaggedStorage for all the UI components so I don't have to worry about it anymore.)
We might be able to add some Vec<Box<AddonTrait>> and abstract away the "real" storage (DenseVecStorage, HashMapStorage, etc.) so they can't be modified except through some interface.
The text was updated successfully, but these errors were encountered:
The "wrapper" storages we have now with
FlaggedStorage
andChangedStorage
aren't very flexible. Since I'm sure someone down the line will want to check for changes for some component that doesn't have the wrapper storage. (Since I've run into this plenty of times already when trying to implement UI stuff with specs to the point of where I just add theFlaggedStorage
for all the UI components so I don't have to worry about it anymore.)We might be able to add some
Vec<Box<AddonTrait>>
and abstract away the "real" storage (DenseVecStorage
,HashMapStorage
, etc.) so they can't be modified except through some interface.The text was updated successfully, but these errors were encountered: