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

Use UUIDs to identify types #30

Open
randomPoison opened this issue Oct 20, 2018 · 0 comments
Open

Use UUIDs to identify types #30

randomPoison opened this issue Oct 20, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@randomPoison
Copy link
Member

Right now we use the user-provided names for Resources/Components to identify them when deserializing update data sent from the editor. While this is an okay solution in the short term, we'll need a more stable way of identifying types in order to support prefab editing in the future. To do this, we can use serde-dyn, which provides the trait TypeUuid.

TODO: Note that we'll have to define our own TypeUuid trait because of the orphan rule.

TODO: Note that we should put this behind a feature until we're ready to make it mandatory.

@randomPoison randomPoison added the enhancement New feature or request label Oct 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant