-
Notifications
You must be signed in to change notification settings - Fork 28
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
Implement support for LocalDate and OffsetDateTime in RequestInformation #1586
Implement support for LocalDate and OffsetDateTime in RequestInformation #1586
Conversation
…questInformation#getSanitizedValues, add test for LocalDate pathParameter resolution
Marking as draft until we can evaluate extending this issue to tackle |
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.
Thanks for the contribution!
Could you also bump the dependency now that it's been released please?
(this way we can check there are no regressions)
components/abstractions/src/main/java/com/microsoft/kiota/RequestInformation.java
Show resolved
Hide resolved
Updated to include |
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 bump std uri template to v2 so we can confirm there's no end to end regression please?
implementation 'io.github.std-uritemplate:std-uritemplate:1.0.6' |
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!
Yes. Apologies, I missed your earlier question. It seems this causes an exception in Edit: is this test appropriate? I imagine we would run the parameters through |
@espenvis thanks for the information. |
…date-and-offsetdatetime' into fix/getsanitizedvalues-add-localdate-and-offsetdatetime
Yep, that's what I figured. I'll do that. |
…emplate in data.csv resource, no longer applicable in std-uritemplate 2
Test still fails due to a JUnit error of some sort. I'll have a look. |
Seems it complained about the change in delimiter. Pushing a fix for that. |
…v formatting changes
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!
Implements behavior for
LocalDate
andOffsetDateTime
in RequestInformation'sgetSanitizedValues
. Added accompanying test forLocalDate
path parameter resolution.Edit: scope is extended to include
LocalTime
andPeriodAndDuration
.closes #1583