Skip to content
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

Meta 2 way sync #618

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Meta 2 way sync #618

wants to merge 10 commits into from

Conversation

Boegie19
Copy link
Contributor

@Boegie19 Boegie19 commented Aug 9, 2022

2 way sync support for meta files.

if you change properties on a instance that is synced with rojo it would create/update the meta.js file for that one. with what you changed in studio.

@@ -244,7 +245,45 @@ impl JobThreadContext {
);
}
} else {
log::warn!("Cannot change properties besides BaseScript.Source.");
if instance.metadata().relevant_paths.len() >= 2 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally not sure if this is good enough if we where to add a new path to relevant_paths for some reason this would break

solution would be to add a special field to metadata for meta files. still this would make this change a lot lager.

@Boegie19 Boegie19 marked this pull request as draft June 11, 2023 15:59
@Boegie19 Boegie19 marked this pull request as ready for review June 11, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant