-
Notifications
You must be signed in to change notification settings - Fork 75
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 missing handling of overload in isUnexpected #2097
Conversation
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.
LGTM and thanke for the fix!
response: PublishCloudEvent200Response | PublishCloudEventDefaultResponse | ||
response: | ||
| PublishCloudEvent200Response | ||
| PublishCloudEvents200Response |
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.
It seems that we have sharedRoute cases in smoke testing and there is no error reported during npm run build
. But the build error is reported in OpenAI.
Do you know what caused the difference? I guess maybe the tsconfig.json
is inconsistant.
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.
Which build error in OpenAI? The one in the issue? I think that was relying on a branch that hasn't made it to main, that's why our smoke-tests are not failing
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.
Maybe I remembered wrongly and checking here #2013 (comment)
5e3c347
to
aa0f9f1
Compare
@@ -105,6 +105,7 @@ import { | |||
LibraryGetDefaultResponse, | |||
LibraryCreate200Response, | |||
LibraryCreate202Response, | |||
LibraryAppend201Response, |
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.
Why do we have these changes? I don't think we have sharedRoute cases in swagger?
op getAvatarAsPng is Azure.Core.RpcOperation<PngImage, {@header accept: "image/png"}>; | ||
|
||
@route("/avatar") | ||
@sharedRoute |
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.
not a priorty and we have the sharedRoute and overload testing in RLC integration and could we enable them in modular integration?
673179e
to
18e0ce6
Compare
Is unexpected was missing the return ypes for overloads. Adding them.
Cast cast in Modular to the specific RLC overload
fixes #2013