checkpoint-labs / checkpoint

Checkpoint is a library for indexing data of Starknet contracts.
https://checkpoint.box
MIT License
55 stars 22 forks source link

fix: make sure data from where clause is complete #261

Closed Sekhmet closed 9 months ago

Sekhmet commented 9 months ago

Closes: https://github.com/checkpoint-labs/checkpoint/issues/258

This PR fixes two issues:

Test plan

Run query like this on sx-api:

{
  votes(where: {space_: {}}) {
    space {
      id
      metadata {
        id
        name
        executors
      }
    }
  }
}
bonustrack commented 9 months ago

@solimander Does this PR fix the issue you get?

solimander commented 9 months ago

@solimander Does this PR fix the issue you get?

Yes, looks like that solves it! 🙏