Docs
Sök⌘ K
  • Home
  • Om The Graph
  • Nätverk som stöds
  • Protocol Contracts
  • Subgrafer
    • Underströmmar
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Resources
                Subgrafer > Developing > Creating > API för AssemblyScript

                Vanliga problem med 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.
                • Scope is not inherited into closure functions⁠, i.e. variables declared outside of closure functions cannot be used. Explanation in Developer Highlights #3⁠.
                ⁠Edit on GitHub⁠

                API-referensChangelog
                The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service