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

fix: 'TargetLanguage' has no exported member 'VISUALIZE' #1238

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Apr 26, 2024

The signature overwrite for targetName using TargetLanguage.VISUALIZE causes and error, because the enum value is stripped from the generate type declarations. We need to also strip the signature overwrite.

I manually checked the output to confirm. Not sure how else to test this.


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

The signature overwrite for targetName using TargetLanguage.VISUALIZE causes and error, because the enum value is stripped from the generate type declarations. We need to also strip the signature overwrite.
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Apr 26, 2024
Merged via the queue into main with commit 330b3f1 Apr 26, 2024
15 of 18 checks passed
@aws-cdk-automation aws-cdk-automation deleted the mrgrain/fix/TargetLanguage-has-no-exported-member-VISUALIZE branch April 26, 2024 15:44
aws-cdk-automation pushed a commit that referenced this pull request Apr 26, 2024
The signature overwrite for targetName using TargetLanguage.VISUALIZE
causes and error, because the enum value is stripped from the generate
type declarations. We need to also strip the signature overwrite.

I manually checked the output to confirm. Not sure how else to test
this.

---

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

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit 330b3f1)
aws-cdk-automation pushed a commit that referenced this pull request Apr 26, 2024
The signature overwrite for targetName using TargetLanguage.VISUALIZE
causes and error, because the enum value is stripped from the generate
type declarations. We need to also strip the signature overwrite.

I manually checked the output to confirm. Not sure how else to test
this.

---

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

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit 330b3f1)
aws-cdk-automation pushed a commit that referenced this pull request Apr 26, 2024
The signature overwrite for targetName using TargetLanguage.VISUALIZE
causes and error, because the enum value is stripped from the generate
type declarations. We need to also strip the signature overwrite.

I manually checked the output to confirm. Not sure how else to test
this.

---

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

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit 330b3f1)
@aws-cdk-automation
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
maintenance/v5.2
maintenance/v5.1
maintenance/v5.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

github-merge-queue bot pushed a commit that referenced this pull request Apr 26, 2024
…E' (backport #1238) (#1241)

# Backport

This will backport the following commits from `main` to
`maintenance/v5.3`:
- [fix: 'TargetLanguage' has no exported member
'VISUALIZE'
(#1238)](#1238)

<!--- Backport version: 9.3.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
github-merge-queue bot pushed a commit that referenced this pull request Apr 26, 2024
…E&#x27; (backport #1238) (#1240)

# Backport

This will backport the following commits from `main` to
`maintenance/v5.1`:
- [fix: &#x27;TargetLanguage&#x27; has no exported member
&#x27;VISUALIZE&#x27;
(#1238)](#1238)

<!--- Backport version: 9.3.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
github-merge-queue bot pushed a commit that referenced this pull request Apr 26, 2024
…E&#x27; (backport #1238) (#1239)

# Backport

This will backport the following commits from `main` to
`maintenance/v5.2`:
- [fix: &#x27;TargetLanguage&#x27; has no exported member
&#x27;VISUALIZE&#x27;
(#1238)](#1238)

<!--- Backport version: 9.3.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants