-
Notifications
You must be signed in to change notification settings - Fork 0
Coder workspace owner context, load in all fields #46
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
Comments
|
I'm not sure that this type would really "fit" anywhere in the Terraform provider, even though conceptually it really matches. The newer "terraform-plugin-framework" style does define local types like this to decode into, but those typically use Terraform "types", and not traditional Go types as is desired here. They look like this:
I could plan around with this, and maybe using the Terraform types would be fine? but it's also a little weird because we'd be adding them to that package without it actually being intended for use anywhere in it. It also gets complicated because we'll only be embedding one version of the evaluation engine in the product, but customers could be using any number of versions of the Terraform provider in their templates. Do we think that poses any risk? Might we eventually need separate types for separate provider versions, especially if we ever bump the provider to v2? |
I do think roles awareness is crucial for customer value here. Does custom roles also exponentially increase complexity? 👀
This is a really good point. How does compatibility work with preview vs provider versions, and can we promise backward compatibility. |
We should include it. It is new, I just missed it. |
@aslilac if it does not make sense, do not worry about it. Just trying to share code where possible.
We can deal with that bridge when we get to it. We'd have to take a look at the provider version and switch the code behavior. |
Need to load in all fields for this data block to match the provider. This is to allow coder user context when using dynamic forms.
The text was updated successfully, but these errors were encountered: