-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consider moving all internal tables to an internal namespace #733
Comments
depends on #734 (world systems need to retain root namespace) |
why? |
root methods get registered with just their name |
I know that access control is somewhat tied to the function selector pattern (to determine namespace etc without an extra lookup) but I wonder if there's some special treatment we could do to world methods where we get best of both worlds (namespaced internal tables, non-namespaced world methods like That said, I feel like |
since we register all tables and systems in the |
I just took a stab at this and it's going to be a bit more involved than initially expected. Once I added a namespace to World's MUD config, it prefixed all system methods with that namespace, thus changing the interfaces, which bubbles up to Some possible next steps:
|
We already namespace tables like
mudstore:schema
, it'd be great to do the same treatment toNamespaceOwner
,InstalledModules
, etc. I wouldn't mind these living together under amud
ormudinternal
namespace or creating namespaces for each type of thing, e.g.mudstore
,mudworld
.Ultimately my goal is to clear the root namespace for users and to make it a bit easier for us+users to know when they're looking at user-defined things vs mud-internal things.
The text was updated successfully, but these errors were encountered: