Subgraphs > Developing > Creating > 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.- لا يتم توريث النطاق في دوال الإغلاق، أي لا يمكن استخدام المتغيرات المعلنة خارج دوال الإغلاق. الشرح في النقاط الهامة للمطورين #3.