Skip to content
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

[Feature]: Rework time schema support #29

Open
jarz opened this issue Apr 17, 2023 · 0 comments
Open

[Feature]: Rework time schema support #29

jarz opened this issue Apr 17, 2023 · 0 comments
Labels
type:feature Feature (new functionality)

Comments

@jarz
Copy link
Member

jarz commented Apr 17, 2023

Is your feature request related to a problem? Please describe.

No response

Describe the feature

DTDL properties with a date schema are generated as C# DateOnly properties, yet time schema properties generate C# objects.

Additional context, alternatives considered, etc.

In consideration of anyone that needs to use .NET Framework, support for TimeOnly should be guarded by #if NET6_0_OR_GREATER and backported to DateOnly as well.

@jarz jarz added the type:feature Feature (new functionality) label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

1 participant