Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain getters better in book/functions#getter-functions #1147

Open
anton-trunov opened this issue Mar 20, 2024 · 1 comment
Open

Explain getters better in book/functions#getter-functions #1147

anton-trunov opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials kind: docs Documentation for docs.tact-lang.org kept in docs folder

Comments

@anton-trunov
Copy link
Member

https://docs.tact-lang.org/book/functions#getter-functions should mention those are not callable from other contracts and meant to retrieve contract data from the outer world (it's explained here https://docs.tact-lang.org/book/guides/getting-started/first#getters, though, but the reference should have a thorough explanation)

@novusnota novusnota self-assigned this Mar 20, 2024
@novusnota novusnota added the docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials label Mar 20, 2024
@novusnota
Copy link
Member

novusnota commented Mar 20, 2024

We should also take inspiration from "get methods" described in TON Docs:
https://docs.ton.org/develop/smart-contracts/guidelines/get-methods

@anton-trunov anton-trunov added this to the v1.3.0 milestone Apr 4, 2024
@novusnota novusnota removed this from the v1.3.0 milestone May 3, 2024
@anton-trunov anton-trunov transferred this issue from tact-lang/tact-docs Dec 12, 2024
@anton-trunov anton-trunov added the kind: docs Documentation for docs.tact-lang.org kept in docs folder label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials kind: docs Documentation for docs.tact-lang.org kept in docs folder
Projects
None yet
Development

No branches or pull requests

3 participants