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

Update to sqlutil helpers #115

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Update to sqlutil helpers #115

merged 4 commits into from
Jan 24, 2024

Conversation

njvrzm
Copy link
Contributor

@njvrzm njvrzm commented Jan 17, 2024

This updates the sdk to bring it in sync with changes to sqlds and grafana-plugin-sdk-go related to grafana/sqlds#85 and grafana/grafana-plugin-sdk-go#858.

Depends on grafana/sqlds#105, grafana/grafana-plugin-sdk-go#862 and grafana/grafana-plugin-sdk-go#863.

@njvrzm njvrzm self-assigned this Jan 17, 2024
@njvrzm njvrzm requested a review from a team as a code owner January 17, 2024 13:12
@CLAassistant
Copy link

CLAassistant commented Jan 17, 2024

CLA assistant check
All committers have signed the CLA.

@njvrzm njvrzm linked an issue Jan 17, 2024 that may be closed by this pull request
@njvrzm njvrzm requested review from iwysiu and removed request for idastambuk January 22, 2024 09:14
Copy link
Member

@sarahzinger sarahzinger left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me! I long for the day when grafana-aws-sdk doesn't know what sqlds or sqlutils are, but today is not that day, and in the meantime it makes sense to me that we'd want it all referencing one place!

Copy link
Contributor

@iwysiu iwysiu left a comment

Choose a reason for hiding this comment

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

Nice! Also thanks for handling the v3 context update

Copy link
Contributor

Choose a reason for hiding this comment

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

It may also make sense to add aws.Context to the arguments for the SQL.Stop function, since it's also a request.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense, but I think I'll leave that for a separate PR.

go.mod Outdated
@@ -4,18 +4,22 @@ go 1.21

toolchain go1.21.3

// TODO: remove both of the following before release
Copy link
Contributor

Choose a reason for hiding this comment

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

Reminder to remove these when you merge

@njvrzm njvrzm merged commit 996ab57 into main Jan 24, 2024
3 checks passed
@njvrzm njvrzm deleted the 65-update-to-sqlutil-helpers branch January 24, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Update to sqlutil helpers
4 participants