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
Skiptoken cannot be generated with a DateTime value #1953
Comments
any word on when this pr will be part of a release? |
@figuerres Our next priority is another WebAPI release. I believe it may take somewhere around 2-3 weeks to ship out a release. We have not settled on a date yet. Please let me know if you have a certain deadline to meet, I will let you know if that fits into our plan. We are also planning a beta version release but things are not set in stone yet. Otherwise, I can help you with setting up the custom paging, which should not take more an hour to implement. |
@KanishManuja-MS sorry for the delay in the reply. |
Given the following entity CLR type
The skiptoken value cannot be generated and throws an exception.
Assemblies affected
OData WebApi lib 7.6.1
Reproduce steps
Create an OData endpoint with the following configuration:
Query the endpoint
/Dates
.Expected result
Skiptoken is correctly generated with the value of the last record in the page.
Actual result
Exception (resulting in HTTP 500 error):
Additional detail
The cause is that conversion from
DateTime
ofDateTimeOffset
in not implemented inDefaultSkipTokenHandler
The text was updated successfully, but these errors were encountered: