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

BUG - No more allSo5Scores before 2023-01? #613

Open
jojoshad opened this issue Aug 28, 2024 · 1 comment
Open

BUG - No more allSo5Scores before 2023-01? #613

jojoshad opened this issue Aug 28, 2024 · 1 comment

Comments

@jojoshad
Copy link

Hello,

I noticed a change in the amount of allSo5Scores retrievable, there is barely any score prior to 2023-01 anymore.
It seems like a recent change as I didn't have any issue like that just a few weeks ago.

Query:

query getPlayerScores($slug: String!, $first: Int, $after: String) {
  football {
    player(slug: $slug) {
      allSo5Scores(first: $first, after: $after) {
        pageInfo {
          hasNextPage
          endCursor
        }
        edges {
          cursor
          node {
            id
            score
            game {
              date
            }
          }
        }
      }
    }
  }
}

Variables example:

{
  "slug": "lionel-andres-messi-cuccittini",
  "after": "WyIyMDIzLTEwLTA1IDAwOjMwOjAwLjAwMDAwMDAwMCBVVEMiLCJmNDE1ZTI5ZC1iYzRmLTQwOGQtODZjNy04M2RlZTQ3Y2NiYzMiXQ"
}

Result:

{
  "data": {
    "football": {
      "player": {
        "allSo5Scores": {
          "pageInfo": {
            "hasNextPage": false,
            "endCursor": "WyIyMDE4LTA4LTEyIDIwOjAwOjAwLjAwMDAwMDAwMCBVVEMiLCJjYzkzYmRlYS0zZmQ5LTRjNTMtODc0My1iZmZkYzI3MzFiNjUiXQ"
          },
          "edges": [
            // ... omitted scores
            {
              "cursor": "WyIyMDIzLTAxLTE1IDE5OjQ1OjAwLjAwMDAwMDAwMCBVVEMiLCI3NjBlNmEzZS00MTY0LTRhNTUtYjJlYy05M2EwOGFkYTdlZTIiXQ",
              "node": {
                "id": "So5Score:760e6a3e-4164-4a55-b2ec-93a08ada7ee2",
                "score": 50.3,
                "game": {
                  "date": "2023-01-15T19:45:00Z"
                }
              }
            },
            {
              "cursor": "WyIyMDIxLTAxLTE3IDIwOjAwOjAwLjAwMDAwMDAwMCBVVEMiLCIzNmQxNDk4MC1hY2FiLTRhMTAtODVhYy0yNjcyMWI5YTM3MjUiXQ",
              "node": {
                "id": "So5Score:36d14980-acab-4a10-85ac-26721b9a3725",
                "score": 38.6,
                "game": {
                  "date": "2021-01-17T20:00:00Z"
                }
              }
            },
            {
              "cursor": "WyIyMDIwLTAxLTA5IDE5OjAwOjAwLjAwMDAwMDAwMCBVVEMiLCI5YjgyNjQxZi1mNDBkLTQ3MzktYmYzZC0wYzZjOWU2MmY0ZjkiXQ",
              "node": {
                "id": "So5Score:9b82641f-f40d-4739-bf3d-0c6c9e62f4f9",
                "score": 98.9,
                "game": {
                  "date": "2020-01-09T19:00:00Z"
                }
              }
            },
            {
              "cursor": "WyIyMDE4LTA4LTEyIDIwOjAwOjAwLjAwMDAwMDAwMCBVVEMiLCJjYzkzYmRlYS0zZmQ5LTRjNTMtODc0My1iZmZkYzI3MzFiNjUiXQ",
              "node": {
                "id": "So5Score:cc93bdea-3fd9-4c53-8743-bffdc2731b65",
                "score": 93.7,
                "game": {
                  "date": "2018-08-12T20:00:00Z"
                }
              }
            }
          ]
        }
      }
    }
  }
}

Is there any explanation?
Thanks a lot

@alexandre-xn
Copy link

same issue here :(

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

3 participants
@jojoshad @alexandre-xn and others