Skip to content

dashboardの部屋詳細で一部のプロパティがnullになる #24

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

Closed
makiuchi-d opened this issue Feb 16, 2023 · 2 comments
Closed
Assignees

Comments

@makiuchi-d
Copy link
Member

プロパティの値が型付きの数値配列(int[]、float[]など)が
部屋一覧や部屋履歴では正しく中身が表示されますが、部屋詳細ではnullになってしまっています。

画像ではdddがint[]、eeeがdouble[]。cccのobject[]は正しく表示されています。
rooms
room

@makiuchi-d
Copy link
Member Author

それぞれの型

プロパティ C# WSNet2 Go backend frontend
ccc object[] TypeList []interface{} Array Array
ddd int[] TypeInts []int Int32Array Uint8Array (バイナリデータ)
eee double[] TypeDoubles []float64 Float64Array Uint8Array (バイナリデータ)

backend (gopherjs) ではGoの型に対応するTypedArrayになっていますが、
msgpackへのエンコードでバイナリデータになってしまうようです。

@makiuchi-d
Copy link
Member Author

あれ、マージ先mainじゃなかった

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

No branches or pull requests

2 participants