-
Notifications
You must be signed in to change notification settings - Fork 21
feat(java): add bridge to transformation on search #4939
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
Conversation
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
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.
nice
? clientOptions.getCustomRequester() | ||
: defaultRequester(appId, apiKey, clientName, clientOptions, defaultHosts, connectTimeout, readTimeout, writeTimeout); | ||
this.clientOptions = options != null ? options : new ClientOptions(); | ||
this.executor = this.clientOptions.getExecutor(); |
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.
this
is optional in java, I think you can omit most of them for readability
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.
ah I just copied the line below, this should work then 328348a
@@ -158,7 +158,7 @@ export async function runCts( | |||
assertValidReplaceAllObjectsFailed(languages.length - skip('dart')); | |||
assertValidReplaceAllObjectsScopes(languages.length - skip('dart')); | |||
assertValidWaitForApiKey(languages.length - skip('dart')); | |||
assertPushMockValid(only('javascript') + only('go') + only('python')); | |||
assertPushMockValid(only('javascript') + only('go') + only('python') + only('java')); |
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.
love this expressiveness
{{^autoCreateClient}}{{client}} client = {{/autoCreateClient}}new {{client}}("{{parametersWithDataTypeMap.appId.value}}","{{parametersWithDataTypeMap.apiKey.value}}"{{#hasRegionalHost}}{{#parametersWithDataTypeMap.region}},"{{parametersWithDataTypeMap.region.value}}"{{/parametersWithDataTypeMap.region}}{{/hasRegionalHost}}{{#useEchoRequester}},withEchoRequester(){{/useEchoRequester}}{{#hasCustomHosts}},withCustomHosts(Arrays.asList({{#customHosts}}new Host("true".equals(System.getenv("CI")) ? "localhost" : "host.docker.internal", EnumSet.of(CallType.READ, CallType.WRITE), "http", {{port}}){{^-last}},{{/-last}}{{/customHosts}}), {{gzipEncoding}}){{/hasCustomHosts}}); |
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.
this adds a new line everywhere, can you put the hasTransformationRegion
at the end of the first line pls ?
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.
I thought that for the sake of the template readability it was better to have an empty line in tests, wdyt?
…) [skip ci] Co-authored-by: Clément Vannicatte <[email protected]>
algolia/api-clients-automation#4939 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3792
Changes included:
follow up of #4852 and #4898 and #4924