सबग्राफ > विकसित करना > बनाने > असेंबलीस्क्रिप्ट एपीआई
आम 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
क्लास वेरिएबल्स [AssemblyScript] (https://www.assemblyscript.org/status.html#language-features) में अनिवार्य नहीं होते हैं। क्लास ऑब्जेक्ट से सीधे क्लास वेरिएबल्स को बदले जाने से बचाने का कोई तरीका नहीं है।- Scope को closure functions में inherite नहीं किया गया है, यानी closure functions के बाहर declared variables का उपयोग नहीं किया जा सकता है। Developer Highlights #3 में स्पष्टीकरण।