C# project targeting netstandard2.0 generates clients with DateOnly data type (.NET 6+) in indexers #5201
Labels
Csharp
Pull requests that update .net code
help wanted
Issue caused by core project dependency modules or library
type:bug
A broken experience
Milestone
Discussed in #5186
Originally posted by thom0707 August 19, 2024
When targeting
netstandard2.0
, Kiota can generate C# clients with theDateOnly
data type which was introduced in .NET 6, resulting in a project that fails to build. This only seems to appear in generated indexers. The incoming data format from the OpenAPI specification must also be "date".Reproduced here:
kiota-test repo.
Example of DateOnly
The text was updated successfully, but these errors were encountered: