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

Documentation for all primitive Sway types #1478

Open
Tracked by #1470
Braqzen opened this issue Nov 22, 2023 · 0 comments
Open
Tracked by #1470

Documentation for all primitive Sway types #1478

Braqzen opened this issue Nov 22, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation sway

Comments

@Braqzen
Copy link
Contributor

Braqzen commented Nov 22, 2023

In the documentation there are sections which display the usage of sway structs that usually, if not exclusively, contain integers.

There are snippets of code rather than complete examples from Sway to the Indexer.

It would be useful to document each primitive type that sway provides (in full) with the full code for the indexer (and the schema) so that there is a clear 1-to-1 mapping for how to index each type and the steps to build.

It also reduces the cognitive load if we can almost blindly copy and paste via a tutorial-esque form of documentation.

@Braqzen Braqzen added the documentation Improvements or additions to documentation label Nov 22, 2023
@ra0x3 ra0x3 added the sway label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sway
Projects
None yet
Development

No branches or pull requests

2 participants