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
A semi-related thing to consider here is that we currently don't write to the ResourceType table if the table is registered directly via StoreCore instead of a call to world.registerTable (because ResourceType is a World concept, not a Store concept). Encoding the resource type in the selector might solve this if it means we don't need ResourceType anymore.
Right now we generally use the pattern:
I am proposing we explore a pattern like:
This comes from seeing a few patterns emerge:
ResourceType
table/enum for registering systems:mud/packages/world/mud.config.ts
Lines 95 to 102 in 5150544
mud/packages/world/src/modules/uniqueentity/constants.sol
Line 5 in 5150544
The text was updated successfully, but these errors were encountered: