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

fix: inject timeline client instead of using ctx #3722

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

wesbillman
Copy link
Collaborator

Fixes #3708
Fixes #3704

@wesbillman wesbillman requested review from a team and alecthomas as code owners December 11, 2024 21:14
This was referenced Dec 11, 2024
Copy link
Collaborator

@matt2e matt2e left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -40,18 +40,6 @@ func NewClient(ctx context.Context, endpoint *url.URL) *Client {
return client
}

func ContextWithClient(ctx context.Context, client *Client) context.Context {
Copy link
Contributor

Choose a reason for hiding this comment

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

can delete line 23 as well (type timelineContextKey struct{})

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ahh yeah, will do! Thanks :)

@wesbillman wesbillman force-pushed the fix-timeline-from-context branch from a373bbf to af54cb4 Compare December 11, 2024 21:22
@wesbillman wesbillman merged commit 73eed73 into main Dec 11, 2024
94 checks passed
@wesbillman wesbillman deleted the fix-timeline-from-context branch December 11, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants