Skip to content

OffsetPagniation gone in version 15.1.3 #8269

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

Closed
veinnotnice opened this issue Apr 29, 2025 · 1 comment
Closed

OffsetPagniation gone in version 15.1.3 #8269

veinnotnice opened this issue Apr 29, 2025 · 1 comment

Comments

@veinnotnice
Copy link

Product

Hot Chocolate

Is your feature request related to a problem?

Summary:
In HotChocolate v14, I was able to use [UseOffsetPaging(IncludeTotalCount = true, MaxPageSize = 1000)] on my query methods without issues.
However, after upgrading to HotChocolate v15.1.3, the following errors are thrown:

CS0246: The type or namespace name 'UseOffSetPagingAttribute' could not be found

CS0246: The type or namespace name 'UseOffSetPaging' could not be found

It seems like the attribute no longer exists or was moved/renamed, but this breaking change is not clearly documented.

The solution you'd like

I would like to use UseOffSetPaging still in version 15

@tobias-tengler
Copy link
Member

It lives in a dedicated package now: https://www.nuget.org/packages/HotChocolate.Types.OffsetPagination

@tobias-tengler tobias-tengler added the ❓ question This issue is a question about feature of Hot Chocolate. label Apr 29, 2025
@glen-84 glen-84 removed the ❓ question This issue is a question about feature of Hot Chocolate. label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants