gitcoinco / gitcoinco/grants-stack-indexer

Donations returning null projects in applications object

Open
#508 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
35
Forks
27
PR merge metrics
No merged PRs in 30d

Description

```graphql
{
donations(
filter:
{
donorAddress: {equalTo: "0x37e5e6eb36467f98392ebbb35f110fbb8238e6d3"},
application: {projectExists: true}
}
) {
id
chainId
projectId
roundId
recipientAddress
applicationId
tokenAddress
donorAddress
amount
amountInUsd
transactionHash
blockNumber
round {
roundMetadata
donationsStartTime
donationsEndTime
}
application {
project {
name

}
}
}
}
```

Had to add the `projectExists` filter to remove null projects.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.