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

schema: Introduce DefaultValue to AttributeSchema #120

Open
3 tasks
Tracked by #956
radeksimko opened this issue Jun 17, 2022 · 0 comments
Open
3 tasks
Tracked by #956

schema: Introduce DefaultValue to AttributeSchema #120

radeksimko opened this issue Jun 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@radeksimko
Copy link
Member

Background

Currently, when providing completion or hover, we use the attribute type.

There are many cases where an attribute can have a default value. e.g. Terraform provider schemas, or variables (exposed as attributes within module blocks). These defaults are already used to infer types when assembling attribute schemas, but the AttributeSchema definition doesn't hold these default values at all.

Proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant