Skip to content

Conversation

@dayaffe
Copy link
Contributor

@dayaffe dayaffe commented Dec 11, 2025

Issue #

Description of changes

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dayaffe dayaffe requested a review from jbelkins December 12, 2025 20:51
fun render(serviceSymbol: Symbol) {
writer.openBlock(
"${ctx.settings.visibility} class \$L: \$N {",
"${ctx.settings.visibility} final class \$L: \$N, Sendable {",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my note on the other PR, rather than mark Sendable here (and on every generated client) I think we can just specify that ClientRuntime.Client conforms to Sendable


writer.openBlock(
"public class \$LConfiguration: \$L {",
"public final class \$LConfiguration: \$L, @unchecked Sendable {",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also see my note on the other PR, even after applying final this type is not Sendable (checked or unchecked)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants