-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use reflection to parse values (#78)
* stated on generic struct mapper * added todos * added better tests * tested creating struct * added struct tags * fixing tests * fixing final tests * added example of Struct * added more convenience to create structs from account * move from camelCase to snake_case * remove println * remove the type since it can be derrived from value * fixed nested struct support * fixed NFT contract and added MetadataViews contract * added metadata structs except royalties with caps and some shared ones * remove WithStructArg * added option to skip field in struct if we do not want it in cadence * use json structtag if it is there and cadence is not there * tidy
- Loading branch information
Showing
24 changed files
with
1,502 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.