-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add Type to DataSourceInstanceSettings #490
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.
PluginContext
already contains the PluginID
field which is the datasource type so not sure it's needed. Definitely not needed as an extra field in protobuf at least
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.
LGTM 👍
This replicates the functionality added to the Go SDK in grafana/grafana-plugin-sdk-go#490.
This replicates the functionality added to the Go SDK in grafana/grafana-plugin-sdk-go#490.
This replicates the functionality added to the Go SDK in grafana/grafana-plugin-sdk-go#490.
What this PR does / why we need it:
This adds
Type
toDataSourceInstanceSettings
in order to support the change suggested here.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: