Skip to content

fix: mitigate illegal substitution exceptions - #2055

Merged
Vincent Biret (baywet) merged 5 commits into
microsoft:mainfrom
espenvis:main
Nov 18, 2025
Merged

fix: mitigate illegal substitution exceptions#2055
Vincent Biret (baywet) merged 5 commits into
microsoft:mainfrom
espenvis:main

Conversation

@espenvis

Copy link
Copy Markdown
Contributor

Fixes an issue where supported types generated by Kiota produce an illegal substitution exception for UUIDs, and similar exceptions for other supported non-String types (excluding ValuedEnum)

closes #2024

@espenvis
Espen (espenvis) requested a review from a team as a code owner November 18, 2025 13:29

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

Comment thread components/abstractions/src/main/java/com/microsoft/kiota/RequestInformation.java Outdated
@github-project-automation github-project-automation Bot moved this to In Progress 🚧 in Kiota Nov 18, 2025
@baywet Vincent Biret (baywet) changed the title fix: mitigate illegal substituion exceptions fix: mitigate illegal substitution exceptions Nov 18, 2025

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

@baywet

Copy link
Copy Markdown
Member

Espen (@espenvis) can you please run ./gradlew spotlessApply and commit the changes?

auto-merge was automatically disabled November 18, 2025 14:29

Head branch was pushed to by a user without write access

@espenvis

Copy link
Copy Markdown
Contributor Author

Espen (@espenvis) can you please run ./gradlew spotlessApply and commit the changes?

Done.

@baywet
Vincent Biret (baywet) merged commit b21e82f into microsoft:main Nov 18, 2025
14 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress 🚧 to Done ✔️ in Kiota Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Illegal substituion of UUID, better handling of arrays

2 participants