Skip to content
#

hotchocolate

Here are 46 public repositories matching this topic...

hotchocolate
davidjamesb
davidjamesb commented Nov 9, 2021

Hi. There is a bug in this line where Take() is retrieving 1 item more than it should:

https://github.com/cajuncoding/GraphQL.RepoDB/blob/52dabefdeec5f6d29e4f97c3a927bc05426ac31c/GraphQL.PreProcessingExtensions/Paging/OffsetPaging/IEnumerableOffsetPagingCustomExtensions.cs#L54

It should be:

var pagedResults = items.Skip(skipPast).Take(takeSome).ToList();

This is particular nasty if

Improve this page

Add a description, image, and links to the hotchocolate topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hotchocolate topic, visit your repo's landing page and select "manage topics."

Learn more