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

Read settings from context #74

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Read settings from context #74

merged 5 commits into from
Dec 13, 2023

Conversation

aangelisc
Copy link
Contributor

@aangelisc aangelisc commented Dec 12, 2023

  • Bump dependencies
  • Add ReadSettings function to read settings from context or fallback to environment
  • Bump go version to 1.21
  • Add ForwardSettingsPlugins which is used in Grafana to determine which plugins should have settings forwarded to them via plugin context

Choosing this PR over grafana/grafana-plugin-sdk-go#836

- Bump dependencies
- Add ReadSettings function to read settings from context or fallback to environment
wbrowne
wbrowne previously approved these changes Dec 12, 2023
Copy link
Member

@wbrowne wbrowne left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@asimpson asimpson left a comment

Choose a reason for hiding this comment

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

Lovely work 🏆

@aangelisc aangelisc merged commit def703c into main Dec 13, 2023
3 checks passed
@aangelisc aangelisc deleted the andreas/update-settings branch December 13, 2023 16:04
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.

None yet

3 participants