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

Add Type to DataSourceInstanceSettings #490

Merged
merged 3 commits into from
Apr 19, 2022

Conversation

toddtreece
Copy link
Member

What this PR does / why we need it:

This adds Type to DataSourceInstanceSettings in order to support the change suggested here.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@toddtreece toddtreece requested a review from a team as a code owner April 15, 2022 00:47
@toddtreece toddtreece requested review from wbrowne and marefr and removed request for a team April 15, 2022 00:47
Copy link
Contributor

@marefr marefr left a 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

@toddtreece toddtreece requested a review from marefr April 19, 2022 17:42
Copy link
Contributor

@marefr marefr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@toddtreece toddtreece merged commit 5f7dfb0 into main Apr 19, 2022
@toddtreece toddtreece deleted the toddtreece/add-type-to-ds-instance-settings branch April 19, 2022 17:59
sd2k added a commit to grafana/grafana-plugin-sdk-rust that referenced this pull request Apr 29, 2022
This replicates the functionality added to the Go SDK in
grafana/grafana-plugin-sdk-go#490.
sd2k added a commit to grafana/grafana-plugin-sdk-rust that referenced this pull request Jun 1, 2022
This replicates the functionality added to the Go SDK in
grafana/grafana-plugin-sdk-go#490.
sd2k added a commit to grafana/grafana-plugin-sdk-rust that referenced this pull request Jun 6, 2022
This replicates the functionality added to the Go SDK in
grafana/grafana-plugin-sdk-go#490.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants