Skip to content

Fixed checking for external type property on symbol#1256

Merged
adwsingh merged 1 commit into
smithy-lang:mainfrom
timocov:fix-external-type-check
Jun 19, 2026
Merged

Fixed checking for external type property on symbol#1256
adwsingh merged 1 commit into
smithy-lang:mainfrom
timocov:fix-external-type-check

Conversation

@timocov

@timocov timocov commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What behavior changes?

The PR fixes a bug when custom integration's symbol provider set SymbolProperties.EXTERNAL_TYPE to false on a symbol but the codegen still ignores the symbol/shape from generating the code.

Why is this change needed?

Creating a codegen integration allows to override symbol provider. If a symbol provider sets false for SymbolProperties.EXTERNAL_TYPE the codegen skips generating code for this shape completely. This is due to a wrong property check is some places.

How was this validated?

Run tests, built locally and validated the output with the integration.

What should reviewers focus on?

Not much, its a 3 lines PR. But changes in this PR align with other changes in the repo already, e.g.:

Additional Links

(this PR is somewhat related to #1198, but isn't really)


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

@adwsingh adwsingh enabled auto-merge (rebase) June 19, 2026 19:51
@adwsingh adwsingh merged commit e0c21ff into smithy-lang:main Jun 19, 2026
3 checks passed
@timocov timocov deleted the fix-external-type-check branch June 19, 2026 20:11
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