-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support basic array return types of contract methods in codegen (#363)
* Fix ValueTransformers to check for undefined value * Create Result types if needed * Update codegen to include array return type queries in schema * Update codegen to include array return type queries in resolvers * Update codegen to include array return type queries in indexers * Codegen skip db caching methods for queries returning unhandled types * Codegen handle bigint array in indexer * Update codegen to handle basic array types * Remove redundant code and refactor * Codegen map Solidity types directly to GraphQL types * Codegen get TS from GQL types * Codegen handle ethers BigNumber array in indexer template * Fix GQL type returned in client queries * Codegen unused method isElementaryType should not be exported * Codegen update README with solc version in config * Codegen update README with continue-on-error flag * Codegen add continue-on-error flag for storage mode * Codegen generate gitignore and license for watchers * Codegen refactor gitignore and license generation utils --------- Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
- Loading branch information
1 parent
aaa6043
commit 49d6789
Showing
17 changed files
with
998 additions
and
231 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules/ | ||
dist/ | ||
out/ | ||
|
||
.vscode | ||
.idea |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.