-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subgraph-compatible Autogenerated API (#26)
* wip: custom graphql schema loaded * wip: basic collection queries working * wip: literally encode ids instead of eq conditions * fix: store labelhash in domains * fix: resolvedAddress is a relationship not an address * fix: lowercase resolver address in resolverId * fix: (in)correctly mark root as migrated and include exception in NewResolver to match subgraph behavior * fix: default null array fields for backwards compat * docs: add documentation to graphql.ts * fix: remove unnecesary context injection * fix: coinType, texts array default, makeResolverId arg order * fix: handle dangling makeResolverId refactor * fix: index all resolver-looking events not just NewResolver * docs: add v2 notes, add comment about root node isMigrated * fix: use enum for OrderDirection to match subgraph * feat: implement scalar Entity_orderBy enums * docs: add rest of graphql autogen api spec * docs: update backfill time estimation * feat: host subgraph-compatible api at /subgraph instead of root * fix: handle subgraph case where version is changed but domain doesn't exist * chore: better comment on the other domain expected error * docs: document which api features are explicitly not supported * chore: remove subgraph-api todo from readme * chore: update package name to ensnode * docs: tidy v2 notes, move _nocase to potential todo * fix: use upsert in Resolver#handleVersionChanged * docs: update backfill time note in README * fix: 13 hours for mainnet backfill * deps: ponder to latest * docs: note about CLUSTER * fix: correctly nullify texts and cointypes on version changed * fix: simplify expiryDate logic o * docs: update comments post feedback --------- Co-authored-by: Tomasz Kopacki <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,171 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,3 @@ yarn-error.log* | |
# Ponder | ||
/generated/ | ||
/.ponder/ | ||
|
||
checkpoints/ |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.