-
Notifications
You must be signed in to change notification settings - Fork 198
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
fix: separate leaderboard query on users query #891
Conversation
…rboard or users table" This reverts commit 6371ce8.
Query for single user is not working, always returning the error
|
What I meant by possible weird returned results depending on filter is:
And
do not return the same results |
It is a different issue, you are using query Proposals{
proposals(first: 10, where:{created_lte:0}) {
id
created
}
} If you pass a valid value, then it returns correct values, it filters out Users with created query User {
users(where: {id_in: ["0x0000000007c96AD6c9835204303c8fB35E48Ffc3", "0x2A7e46945277059D57a795CbecDb92DC29db69A6", "0x04DB1bB49b7fFBcEC574f34D29c3153953890352", "0x00Cef6B61fd57d481e569C64Ac5280736023de7F"], created_lte: 1651651402 }) {
id
proposalsCount
votesCount
created
}
} |
Fixed |
This reverts commit 6e854b3.
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.
tAck
Continued from #886
Summary:
created
can be nullHow to test:
Same as #886 (comment)