Skip to content
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

Null value resolved for non-null field resolver Error #45

Open
satwikkansal opened this issue Jun 2, 2022 · 1 comment
Open

Null value resolved for non-null field resolver Error #45

satwikkansal opened this issue Jun 2, 2022 · 1 comment

Comments

@satwikkansal
Copy link

I think there are some ResolverEvents that have null set for resolver field.

Query to replicate:

resolverEvents(first:2, where:{ resolver_not: null, blockNumber_gt: 14891090}) {     	
   id
   transactionID
  blockNumber
  resolver { 
    id     	
  }
}

image

If I comment out the resolver fields, and run the same query, this is what I get,

image

Interestingly, transaction IDs for both the records are same i.e. 0xc5141297ff039da6fef3fa6b7903d35ac1e7ba250a053040974e659d264bd97f, and the second one for some reason has resolver set to null.

@satwikkansal
Copy link
Author

Since the graph doesn't support filter on nested entries, any suggestions on how to get around this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant