smithy-lang / smithy-kotlin

Smithy code generator for Kotlin (in development)
Apache License 2.0
76 stars 26 forks source link

fix: only import `transform` namespace if there are modeled operations #970

Closed lauzadis closed 9 months ago

lauzadis commented 9 months ago

Fixes a bug discovered during testing of our internal preview builds. If a service does not model operations, we should not try to import from the transform.* namespace, because it doesn't exist.

Issue \

N/A -- internal only

Description of changes

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

sonarcloud[bot] commented 9 months ago

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