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

Make events parameter required for ListEvents #325

Merged

Conversation

mattgd
Copy link
Contributor

@mattgd mattgd commented Apr 9, 2024

Description

Make events parameter required for ListEvents.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[x] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
https://github.com/workos/workos/pull/26139

@mattgd mattgd self-assigned this Apr 9, 2024
Copy link

linear bot commented Apr 9, 2024

@mattgd mattgd marked this pull request as ready for review April 9, 2024 15:02
@mattgd mattgd requested a review from a team as a code owner April 9, 2024 15:02
Events []string `url:"events,omitempty"`
Events []string `url:"events"`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@PaulAsjes While this change is breaking in the API (mitigated by feature flag for affected customers), I don't consider this is a breaking change in the Go SDK, so a minor bump seems appropriate. Wanted to double check to see if you had an opinion though.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed, minor bump seems fine!

internal/workos/workos.go Outdated Show resolved Hide resolved
@mattgd mattgd requested a review from mthadley April 11, 2024 18:09
@mattgd mattgd merged commit 87de1f7 into main Apr 11, 2024
4 checks passed
@mattgd mattgd deleted the feature/dsync-1308-update-go-sdk-to-require-event-names-parameter branch April 11, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants