-
Notifications
You must be signed in to change notification settings - Fork 16
Initial work on Query command for List Resource #531
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
Conversation
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.
Thanks @rainkwan, left a few minor comments but nothing that I think blocks us from merging this. LGTM 🚗
|
||
var _ tfprotov6.ProviderServer = ProviderServer{} | ||
|
||
// var _ tfprotov6.ProviderServerWithListResource = ProviderServer{} |
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.
Should this still be commented out?
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.
Generally speaking, this interface should only be directly referenced by exported terraform-plugin-go
packages or testing packages like in terraform-plugin-mux
Since it's a temporary interface, we will eventually remove it once all downstream provider servers have a chance to implement them (for example, SDKv2 will need to implement the interface eventually, even if it doesn't have an SDK for the RPCs). Once that is removed, since there are no direct references to the interface itself, no downstream packages need to be re-released with the interface removed and provider's CI won't break 🙂
Co-authored-by: stephybun <steph@hashicorp.com>
Co-authored-by: stephybun <steph@hashicorp.com>
Co-authored-by: stephybun <steph@hashicorp.com>
Related Issue
Building off #528
Description
Adding ListResource and ValidateListResourceConfig from List Resource to plugin testing.
Rollback Plan
Changes to Security Controls
No