We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The instance of context should be able to be converted to a hash. The ruby naming convention is a #to_h method to do so.
#to_h
Sometimes, one wants to re-use the context set. e.g. to report it to Sentry or any other exception tracker.
Add a to_h method to Unleash::Context
to_h
Unleash::Context
The text was updated successfully, but these errors were encountered:
Thank you for the suggestion and the PR @tmaier, we'll have a look!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the feature request
The instance of context should be able to be converted to a hash.
The ruby naming convention is a
#to_h
method to do so.Background
Sometimes, one wants to re-use the context set. e.g. to report it to Sentry or any other exception tracker.
Solution suggestions
Add a
to_h
method toUnleash::Context
The text was updated successfully, but these errors were encountered: