You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is problematic for cases when the id is not an int (maybe a string) but it looks like one. We should completely remove this behavior, the caller should parse the id instead (it'll always be a string now):
await_paginationService.KeysetPaginateAsync(query,
b =>b.Descending(x =>x.Created),async id =>await_dbContext.Posts.FindAsync(int.Parse(id)));
The text was updated successfully, but these errors were encountered:
Today we try to automatically parse the id in after/value as an
int
:MR.AspNetCore.Pagination/src/MR.AspNetCore.Pagination/PaginationService.cs
Lines 305 to 329 in 9a9b137
This is problematic for cases when the id is not an int (maybe a string) but it looks like one. We should completely remove this behavior, the caller should parse the id instead (it'll always be a string now):
The text was updated successfully, but these errors were encountered: