-
Notifications
You must be signed in to change notification settings - Fork 56
Use DynamicAttribute for query attribute #367
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
base: main
Are you sure you want to change the base?
Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
| ID types.String `tfsdk:"id"` | ||
| Program types.List `tfsdk:"program"` | ||
| WorkingDir types.String `tfsdk:"working_dir"` | ||
| Query types.Dynamic `tfsdk:"query"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a breaking change?
I tried to look up how Terraform handles schema changes, but the schema definition for data sources does not include the version field..
| return result, nil | ||
| } | ||
|
|
||
| func marshalAttrValueToJSON(val attr.Value) ([]byte, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some built-in way to serialize an attr.Value into JSON?
Related: #2