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

Structs for webhook payloads #73

Open
aidansteele opened this issue Feb 3, 2021 · 0 comments
Open

Structs for webhook payloads #73

aidansteele opened this issue Feb 3, 2021 · 0 comments

Comments

@aidansteele
Copy link
Contributor

It would be quite useful if there were structs that corresponded to webhook events, e.g. like dsync.user.updated.

For the above example, there is the directorysync.User type but it's not quite right. Compare its definition https://github.com/workos-inc/workos-go/blob/83f29941b8a27e7693d229c4ce9190bf581a47f2/pkg/directorysync/client.go#L57-L75

To the payload definition:

image

(The directory_id field is missing)

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

No branches or pull requests

1 participant