graphene-django-extras icon indicating copy to clipboard operation
graphene-django-extras copied to clipboard

fix results None with PageGraphqlPagination

Open tamhv opened this issue 3 years ago • 0 comments

Backward compatibility with client when using PageGraphqlPagination

Issue:

//client
query {
  users {
    totalCount
    results {
      id
    }
  }
}

Output:

//old version
{
  totalCount: 1,
  users: {
    id: 123
  }
}

//new version (0.5.2)
{
  totalCount: 1,
  users: null
}

tamhv avatar Dec 10 '21 07:12 tamhv