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

Rename TokenTypeCapsule to TokenTypeComplex #1656

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

jpogran
Copy link
Contributor

@jpogran jpogran commented Dec 20, 2023

This renames the existing token type TokenTypeCapsule to TokenTypeComplex to aid readability and reflect existing naming conventions.

This token represents list in type = list(string) and similar, i.e. the name of the complex type. The term "capsule" has slightly different meaning in cty and HCL and we should not use it in this context.

Relies on hashicorp/terraform-ls#1529

@jpogran jpogran self-assigned this Dec 20, 2023
@jpogran jpogran marked this pull request as ready for review December 20, 2023 15:47
@jpogran jpogran requested a review from a team as a code owner December 20, 2023 15:47
@dbanck
Copy link
Member

dbanck commented Jan 2, 2024

#1659 should fix the test failures

This renames the existing token type TokenTypeCapsule to TokenTypeComplex to aid readability and reflect existing naming conventions.

This token represents `list` in `type = list(string)` and similar, i.e. the name of the complex type. The term "capsule" has slightly different meaning in cty and HCL and we should not use it in this context.
@jpogran jpogran force-pushed the rename_token_type_capsule branch from 126937e to 9d7a4b9 Compare January 5, 2024 13:44
@jpogran jpogran merged commit 8e9d272 into main Jan 5, 2024
18 checks passed
@jpogran jpogran deleted the rename_token_type_capsule branch January 5, 2024 13:57
Copy link

github-actions bot commented Feb 5, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants