Embed and extract DataAssets from their owner (EmbedDataAssetAttribute)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
調査の方向性
Start by reading the serializer, inspector, undo system, and DataAsset variant handling; the issue names no files or tests. Trace how DataAsset members are currently serialized and referenced, then define embedded and referenced round trips, extraction and embedding with undo, and variant behavior. Done means both forms round-trip, extract/embed restore the original file contents and undo, and existing projects remain compatible.
索引モデルが issue の本文から書いたものです。
説明
Current State
A DataAsset that references another (for example the project's settings, or a build profile's settings overrides) always points at a separate .dataasset file. A new project therefore starts with one file per settings kind, even when nothing about them is customized yet. [SerializeInline] exists for component members, but there is no way to keep a referenced DataAsset inside its owner and move it out later.
Tasks
- Add an
EmbedDataAssetAttribute(or extend[SerializeInline]) for DataAsset members that may hold either an embedded payload or a reference to a separate asset. - Serializer: read and write both forms for the same member; loading resolves either to the same payload type.
- Inspector: an Extract button that writes the embedded payload to its own
.dataasset(with meta) and replaces it with a reference, and an Embed button that does the reverse when nothing else references the asset. Both undoable. - Let new projects start compact: the Project asset embeds its default settings until the user extracts one (to make a variant, share it, or split it out for version control).
- Decide how variants interact with embedding (a variant's base must be a separate asset).
Acceptance Criteria
- A member marked with the attribute round-trips both the embedded and the referenced form.
- Extract then Embed returns the original file contents; both steps undo.
- Existing projects keep working unchanged.
Related
Central Project asset and build-profile settings overrides; DataAsset variants; #62 #35.
- 主要言語
- C#
- スター
- 1
- フォーク
- 1
- 平均マージ
- 2時間
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MASS4ORG/Turian のほかの issue
-
c:assets p:low size:XS t:task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
c:engine p:medium sit:waiting size:L t:refactor
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
c:gaya p:medium sit:next t:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
c:graphics p:medium size:L t:enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
MASS4ORG/Turian の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Street address filter matches across line breaks and reads "Dr." in a greeting as a street suffixオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
philterd/phileas-dotnet#185 ·
-
bug 優先: 低
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100