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

Go: Referencing boolean attributes in boolean arguments does not work #1363

Closed
ansgarm opened this issue Nov 29, 2021 · 2 comments · Fixed by #1725
Closed

Go: Referencing boolean attributes in boolean arguments does not work #1363

ansgarm opened this issue Nov 29, 2021 · 2 comments · Fixed by #1725
Labels
bug Something isn't working feature/tokens language/golang priority/important-soon High priority, to be worked on as part of our current release or the following one. provider get / generation providers

Comments

@ansgarm
Copy link
Member

ansgarm commented Nov 29, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

cdktf & Language Versions

  • 0.7

Affected Resource(s)

any

Debug Output

See https://github.com/ansgarm/test-cdktf-go-bool-refs

Expected Behavior

Should synthesize to a valid reference (works in e.g. TypeScript)

Actual Behavior

Fails with

panic: unable to make an instance of unregistered interface interface {}

(full error in reproduction example)

Steps to Reproduce

https://github.com/ansgarm/test-cdktf-go-bool-refs

Important Factoids

  • also fails in Java, works in TS, Python & C#

References

@DanielMSchmidt DanielMSchmidt added the priority/important-soon High priority, to be worked on as part of our current release or the following one. label Nov 29, 2021
@jsteinich
Copy link
Collaborator

I think the work I've done in #1299 will fix this.

@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, 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 Nov 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature/tokens language/golang priority/important-soon High priority, to be worked on as part of our current release or the following one. provider get / generation providers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants