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: only optimistically resolve nested entities #298

Closed Sekhmet closed 3 months ago

Sekhmet commented 3 months ago

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

Depends on: https://github.com/checkpoint-labs/checkpoint/pull/297

Test plan

Test on this branch https://github.com/checkpoint-labs/checkpoint-template/compare/sekhmet/tt?expand=1

Run this query:

{
  user(id: "a") {
    id
  }
  users {
    info {
      id
    }
  }
}

First entity doesn't resolve, without this PR it would.