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 'event' field in EventContext public #2

Closed
liuwb opened this issue Apr 13, 2023 · 2 comments
Closed

Make 'event' field in EventContext public #2

liuwb opened this issue Apr 13, 2023 · 2 comments

Comments

@liuwb
Copy link

liuwb commented Apr 13, 2023

type EventContext struct {
event map[string]any
resourceContext map[string]any
}

Both 'event' and 'resourceContext' are private fields that cannot be accessed in Factory method. Please make them public.

@cloudshiftchris
Copy link
Contributor

Thanks for noting that; it's been addressed in v0.2.1

@liuwb
Copy link
Author

liuwb commented Apr 13, 2023

Thanks for noting that; it's been addressed in v0.2.1

Readme sample code should also be updated accordingly.

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

2 participants