-
Hello, I've got a legacy .NET Standard 2.0 app (.NET Framework 4.8) that I'm looking to add an API client for. Kiota is promising as .NET Standard 2.0 is supported, but I'm running into an issue where the generated code is using the I can't share the full spec but was able to reproduce in a small example. kiota-test repo. The generator appears to emit the Is this expected behavior? Is there any way to work around this within Kiota and without changing my input API spec? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @thom0707 |
Beta Was this translation helpful? Give feedback.
-
I converted to an issue and will be submitting a PR shortly. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Hi @thom0707
Thank you for using kiota and for reaching out.
This is an oversight since kiota-dotnet defines its own date type to ensure compatibility
The replacement of types is done here
And since indexers are only supported by dotnet, we should probably add logic to replace types for code indexers in the refiner.
Is this something you'd like to submit a pull request for provided some guidance?