Skip to content

System.TimeOnly' is not supported by the client library #2613

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

Open
mchudie opened this issue Feb 7, 2023 · 4 comments
Open

System.TimeOnly' is not supported by the client library #2613

mchudie opened this issue Feb 7, 2023 · 4 comments

Comments

@mchudie
Copy link

mchudie commented Feb 7, 2023

Microsoft.OData.Client 7.14.0
System.TimeOnly' is not supported by the client library

@KenitoInc
Copy link
Contributor

@mchudie
What are you trying to do with System.TimeOnly in OData client?

@xuzhg
Copy link
Member

xuzhg commented Feb 14, 2023

System.TimeOnly and System.DateOnly is introduced in .NET 6. If we want to support them, we have to update the target framework on .NET 6. (It's also related to the topic: SUPPORT POLICY).

@mchudie by the way, OData has the Date and TimeOfDay struct that you can use. Any problem to use those types?

@gathogojr
Copy link
Contributor

Closing issue since justification was not provided and lack of follow-through...

@xuzhg xuzhg reopened this Oct 9, 2024
@xuzhg
Copy link
Member

xuzhg commented Oct 9, 2024

#3078 supports the DateOnly and TimeOnly in OData.Core and We'd move forward to fully support it in OData.Client and OData Connected Service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants