Skip to content

Project targets netstandard2.0 but generated code uses DateOnly (.NET 6+) data type #5186

Answered by baywet
thom0707 asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@thom0707
Comment options

@andrueastman
Comment options

Answer selected by thom0707
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants