-
Notifications
You must be signed in to change notification settings - Fork 216
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
Fix: Escape paths containing the keyword "item" #4900
Conversation
@microsoft-github-policy-service agree |
@CasperWSchmidt thanks for starting this. Can you add a unit test in the kiota builder tests please? This way we can iterate on the solution with confidence. |
@baywet I'm not sure what unit test to add. I can include a test using the exact structure I'm struggling with, but that seems to be a bit too large for at unit test? |
@CasperWSchmidt Maybe you can take a look at a test like this one?
|
Hi @andrueastman and @baywet |
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
Signed-off-by: Vincent Biret <[email protected]>
@CasperWSchmidt Thanks for your continuous efforts here. |
@baywet Thank you for helping out! I don't know what constants and conditions must be refactored to avoid duplication. |
Ah, the "Item" and "Item_escaped" constants? What's the best place to put them? |
I tried playing around with changing |
Yes, and please place the constants in the Extensions class. |
@baywet Thanks, I finally got around to fixing it. I guess it's ready for review/merge. |
There was a problem hiding this comment.
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!
Can you also add a changelog entry please? (unreleased, changed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the changelog entry myself
Fixes #4814