サブグラフ > 開発 > 作成 > AssemblyScript API
AssemblyScriptのよくある問題
There are certain AssemblyScript issues that are common to run into during Subgraph development. They range in debug difficulty, however, being aware of them may help. The following is a non-exhaustive list of these issues:
Private
class variables are not enforced in AssemblyScript. There is no way to protect class variables from being directly changed from the class object.- スコープはクロージャー関数には継承されません。つまり、クロージャー関数の外で宣言された変数は使用できません。Developer Highlights #3](https://www.youtube.com/watch?v=1-8AW-lVfrA&t=3243s)に説明があります。