Documentation for all primitive Sway types
Braqzen opened this issue · 0 comments
Braqzen commented
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.