TJ Banghart
TJ Banghart
We are missing helpful errors in the `ok` helper method. We should turn this ``` fun ok(response: SDKResponse): T { @Suppress("UNCHECKED_CAST") when (response) { is SDKResponse.SDKErrorResponse -> throw Error(response.value.toString()) is...
Setting global JVM system properties during runtime can be dangerous As far as I can tell this method is only used by [test classes](https://github.com/looker-open-source/sdk-codegen/blob/6ddfe7d939143e194e58cdba4e58e016dd208105/kotlin/src/test/Utils.kt#L54). We should probably move this to...
The last few Kotlin codegen passes had some lint issues (https://github.com/looker-open-source/sdk-codegen/pull/1402, https://github.com/looker-open-source/sdk-codegen/pull/1399). We should update the code generator to apply the linter after completion or emit code that adheres to...
Adds the [Shadow](https://github.com/johnrengelman/shadow) plugin. This will let us build shaded jars that include all dependencies so developers can use the Kotlin SDK as a standalone jar in other JVM projects....
chore(deps): Updated Kotlin from v1.7.0 to v1.9.10, Gradle from v6.7.1 to v8.3 and upgraded linter
## 👋👋 Thank you for contributing to Looker sdk-codegen (⚡️🍣) - 👆 Make sure your pull request title follows [Pull Request Title Guidelines](https://github.com/looker-open-source/sdk-codegen/blob/main/CONTRIBUTING.md#title-guidelines) from our [Contribution guide](https://github.com/looker-open-source/sdk-codegen/blob/main//CONTRIBUTING.md) - 👉 Don't...
I'd like to include the Kotlin SDK in another JVM project. The current jar task only builds the SDK but doesn't include the `ktor`, `gson`, or general Kotlin specific dependencies....
[LookerSDKStream](https://github.com/looker-open-source/sdk-codegen/blob/3036e6e2d061fa239bd4eb4f8026d28d9e12272a/kotlin/src/main/com/looker/sdk/4.0/streams.kt#L38C7-L38C22) methods do not begin a _true_ stream from a Looker instance to a client. The [Transport](https://github.com/looker-open-source/sdk-codegen/blob/3036e6e2d061fa239bd4eb4f8026d28d9e12272a/kotlin/src/main/com/looker/rtl/Transport.kt#L291-L306) class uses [HttpResponse#receive](https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.call/receive.html) which reads all contents of the response synchronously. This can...
[CALCITE-7247](https://issues.apache.org/jira/browse/CALCITE-7247)