amethyst / amethyst/editor-core

Use UUIDs to identify types

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Rust
スター
45
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

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](https://crates.io/crates/serde_dyn), which provides the trait [`TypeUuid`](https://docs.rs/serde_dyn/0.1.0/serde_dyn/trait.TypeUuid.html).

> 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。