Skip to content

earliestRestrictedContributionDate field of ContributionsCollection object is not working #24427

Discussion options

You must be logged in to vote

This field is working as intended. If I execute this query:

query getFirstContribution {
  user(login: "lee-dohm") {
    login
    contributionsCollection {
      startedAt
      endedAt
      contributionYears
      earliestRestrictedContributionDate
      hasAnyRestrictedContributions
      hasAnyContributions
      restrictedContributionsCount
    }
  }
}

Then I receive:

{
  "data": {
    "user": {
      "login": "lee-dohm",
      "contributionsCollection": {
        "startedAt": "2018-05-20T07:00:00Z",
        "endedAt": "2019-05-24T06:59:59Z",
        "contributionYears": [
          2019,
          2018,
          2017,
          2016,
          2015,
          2014,
          2013…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants