KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
95 stars 73 forks source link

[subgraph] Marketplace Graph returning Null on NonNull values #2249

Closed 0xemc closed 9 months ago

0xemc commented 9 months ago

Subject: Marketplace Graph returning Null on NonNull values

Graphql Fragment:

fragment ActivityFragment on Activity {
  id
  amount
  previousAmount
  price
  previousPrice
  timeStamp
  activityType
  project {
    key
    vintage
  }
  buyer {
    id
  }
  seller {
    id
  }
}

Error Messages:

"errors": [
    {
      "locations": [
        {
          "column": 3,
          "line": 15
        }
      ],
      "message": "Null value resolved for non-null field `project`"
    },
    {
      "locations": [
        {
          "column": 3,
          "line": 22
        }
      ],
      "message": "Null value resolved for non-null field `seller`"
    },
    {
      "locations": [
        {
          "column": 3,
          "line": 15
        }
      ],
      "message": "Null value resolved for non-null field `project`"
    },
    {
      "locations": [
        {
          "column": 3,
          "line": 22
        }
      ],
      "message": "Null value resolved for non-null field `seller`"
    }
  ]

Testing Link: GraphQL Testing Link

Expected Outcome:

Labels: bug

0xemc commented 9 months ago

Looks like this is resolved now, closing