Skip to content
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

misc: generate internal-only clients with internal visibility #1045

Merged
merged 10 commits into from
Sep 19, 2023

Conversation

lauzadis
Copy link
Member

@lauzadis lauzadis commented Sep 13, 2023

This PR applies internal visibility build settings to the internal-only generated SDK clients. It updates the .api file to remove them from the public API.

This is technically breaking, but since the classes were all already labeled as "internal", it won't be treated as a breaking change.

Issue #

N/A

Description of changes

This change is required to remove the internal-only clients from the public API.

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

@lauzadis lauzadis marked this pull request as ready for review September 14, 2023 13:05
@lauzadis lauzadis requested a review from a team as a code owner September 14, 2023 13:05
@@ -11,6 +11,16 @@ import software.amazon.smithy.model.node.ObjectNode
import software.amazon.smithy.model.node.ToNode
import java.util.*

class SmithyKotlinApiSettings : ToNode {
var visibility: String? = null
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: It's a string here in configuration, but becomes a Visibility enum once it's actually parsed from the Node object

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@lauzadis lauzadis merged commit 231224f into main Sep 19, 2023
@lauzadis lauzadis deleted the misc-internal-clients branch September 19, 2023 18:32
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.

3 participants