Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation sway
Projects
None yet
Development

No branches or pull requests

2 participants