-
Notifications
You must be signed in to change notification settings - Fork 55
Refactor from smithy-kotlin java builder removal #422
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
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |
| writer.withBlock("companion object {", "}") { | ||
| withBlock( | ||
| "operator fun invoke(sharedConfig: #T? = null, block: Config.DslBuilder.() -> Unit = {}): #L {", | ||
| "operator fun invoke(sharedConfig: #T? = null, block: Config.Builder.() -> Unit = {}): #L {", |
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.
same question as sibling PR, should these be inline?
| override fun credentialsProvider(credentialsProvider: CredentialsProvider): FluentBuilder = apply { this.credentialsProvider = credentialsProvider } | ||
| override fun endpointResolver(endpointResolver: AwsEndpointResolver): FluentBuilder = apply { this.endpointResolver = endpointResolver } | ||
| override fun region(region: String): FluentBuilder = apply { this.region = region } | ||
| fun build(): TestPresignConfig = TestPresignConfig(this) |
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.
should this be internal?
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |
1 similar comment
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |
|
Kudos, SonarCloud Quality Gate passed!
|
|
A new generated diff is ready to view: __generated-main...__generated-refactor-remove-java-builders |








Companion PR: smithy-lang/smithy-kotlin#534
Issue #
smithy-lang/smithy-kotlin#532
Description of changes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.