-
Notifications
You must be signed in to change notification settings - Fork 10
feat: implement GraphQL interface to the middleware DB #2162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
radrow
wants to merge
62
commits into
master
Choose a base branch
from
radrow/graph-ql
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
94c215e
GraphQL stub
radrow 236b341
More GraphQL resolvers and tests
radrow efda4b3
Fix stupid test dep
radrow f3f9ab8
Code formatting
ghallak 8eb69d8
Add stats queries
ghallak 33def4e
Refactor graphql schema
ghallak b5db8e3
Add more queries
ghallak f65b4a0
Update blocks resolvers and queries
ghallak f86d0d2
Run mix format
ghallak 83f5589
Micro blocks queries
ghallak fb9838f
Remove scope from micro blocks query
ghallak 9328cdb
Remove duplicated transactions query
ghallak 402dc90
Fix single transaction query
ghallak 2f1b49a
Fix pending txns queries
ghallak f8473c6
Remove block query from txns queries
ghallak 78ba564
Comment txns and txns count resolvers
ghallak 041aa34
Fix oracles types, comment extends
ghallak 365fb33
Remove duplicated funs
ghallak fae4161
Fix all oracle queries
ghallak 3705687
Enable oracle extensions
ghallak d837ec4
Fix all channel queries
ghallak a7d9e26
Disable aex9 queries
ghallak f54dec5
Enable aex9 contract queries
ghallak 670f2e0
Enable aex9 contract balances
ghallak e4bee66
Enable balance history query
ghallak 513de12
Comment unused aex141 queries and types
ghallak 7ef29eb
Complete the stats queries
ghallak 901c147
Remove duplicated stats types
ghallak 9042c40
Convert map keys from string to atom before return
ghallak dfa12dc
Add maybe_map to avoid turning nil to string
ghallak a631307
Use a macro for duplicated pagination and scope args
ghallak 7cd8427
Fix contract queries
ghallak 5437a80
Refactor duplicated code
ghallak 9f005cc
Fix top miners in 24 hs query
ghallak aef9156
Comment unused name queries
ghallak 92828ac
Add a helper for formatting errors
ghallak 5196cdd
Add query for account activities
ghallak 101283d
Add dex swaps queries
ghallak a022e48
Add account name claims query
ghallak 286aafb
Name queries cleanup
ghallak 1e23d79
Fix error in dex queries and resolver
ghallak a780485
Add queries for name updates, transfers, and history
ghallak fd9630b
Clean up commented code
ghallak 4450361
Refactor pagination args handling
ghallak b57f481
Add query to get transactions with filter
ghallak b6b13f3
Add query for transactions count
ghallak 6de6cb9
Add transfers query
ghallak 1d391ce
Add transfers queries for aex9 and aex141
ghallak 83f6415
Add balances queries
ghallak bb33dfb
Fix issues with aex9_resolver
ghallak 875ebdf
Fix issues with aex141_resolver
ghallak 3183357
Add queries for aex141 tokens
ghallak ecff4ec
Add query for getting micro block txns
ghallak 4c5b449
Add query for account transactions count
ghallak 82fc169
Add wealth query
ghallak 9acfbef
Fix status query
ghallak 439dfee
Add query for account name pointees
ghallak b314f45
Add queries for aex141 templates
ghallak 6beb0b9
Fix issue with validating type groups
ghallak d619601
Move query building to a helper function
ghallak 1ac02f2
Add graphql docs autogen
ghallak ca109a7
Update the docs
ghallak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this file be restored from master? Is there a reason for this change?