Skip to content

Commit

Permalink
New translations common-issues.mdx (Vietnamese)
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed Dec 27, 2023
1 parent 068a593 commit e9c7b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/pages/vi/developing/graph-ts/common-issues.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ title: Common AssemblyScript Issues

There are certain [AssemblyScript](https://github.com/AssemblyScript/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 [AssembyScript](https://www.assemblyscript.org/status.html#language-features). There is no way to protect class variables from being directly changed from the class object.
- Scope is not inherited into [closure functions](https://www.assemblyscript.org/status.html#on-closures), i.e. variables declared outside of closure functions cannot be used. Explanation in [Developer Highlights #3](https://www.youtube.com/watch?v=1-8AW-lVfrA&t=3243s).
- `Private` class variables are not enforced in [AssembyScript](https://www.assemblyscript.org/status.html#language-features). There is no way to protect class variables from being directly changed from the class object.
- Scope is not inherited into [closure functions](https://www.assemblyscript.org/status.html#on-closures), i.e. variables declared outside of closure functions cannot be used. Explanation in [Developer Highlights #3](https://www.youtube.com/watch?v=1-8AW-lVfrA&t=3243s).

0 comments on commit e9c7b91

Please sign in to comment.