[http-client-java] Report error when clientRequired is set to false#10365
[http-client-java] Report error when clientRequired is set to false#10365weidongxu-microsoft merged 8 commits intomainfrom
clientRequired is set to false#10365Conversation
…java emitter" Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/614df4ae-b846-4c9b-9f2e-2f63dffa38e8 Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
clientRequired is set to false
|
please remove this line (as now it is error) and run Generate.ps1 to regenerate the code (see instruction on how to run it) |
|
All changed packages have been documented.
|
|
All changed packages have been documented.
Show changes
|
…n code Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/889e1966-4215-477c-8e4f-820993bdb408 Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Done in commit f80d2d7. Removed line 29 ( Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
You can try these changes here
|
client-required-falsetolib.tsisPropertyRequiredfromutils.tsto a private method inCodeModelBuilderclass incode-model-builder.tsreportDiagnosticwhenclientRequiredisfalsegetClientOptions,DecoratedType) tocode-model-builder.tscode-model-builder.tsto removeisPropertyRequiredfrom utilsclientRequired=falsetest case fromclient-option.tsp(it now produces an error)ClientOptionClient.java,ClientOptionAsyncClient.java, andClientRequiredsImpl.java(filter is now required)