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
Services can't be used as partition targets on current git build #84
Comments
This is a good reminder! I was still mulling through the best solution to this for the rewrite, and there are a couple options if I remember right. I should've written them down:
|
Isn't the behavior not being that of bullet point 1. also why everything gets purged on sync? As for #2, you should always be targeting a service anyway. Should be easy to tell Rojo that the first ancestor on a partition target will always be a service. (i.e. if given ReplicatedStorage.Foo.Bar, Rojo should automatically know ReplicatedStorage is a service since it's the first ancestor). This brings up issues with people renaming services from their original class name, but you could also enforce the first ancestor being a service class name rather than its real name. |
Consider Another decision that I made in 0.4.x was that reaching the root of a partition (navigating the actual |
I just had an insane epiphany after replying here, I'll push a commit to master in a little bit. It's the solution! |
StarterPlayer/CharacterScripts is an ugly edge case. Looking forward to seeing your fix. |
Okay, it ended up being pretty involved, but the rough stuff will be in the The major thing to note is the replacement of the existing partition config format in favor of something hierarchical: This lays the way for hierarchical settings along the lines of The config format I'm proposing is kind of strange. It mixes properties and children into the table to avoid creating insane nesting depth (and redundancy, specifying |
Switching to XML or a DSL seems like a way to make that syntax better. I like the idea though! |
Going to close this right now, since the |
On the release version, this isn't an issue, but cloning and building rojo yourself doesn't let you use a service as a partition target.
Unsure if this is already known. If it is, take this as a tracking issue I suppose.
The text was updated successfully, but these errors were encountered: