-
Notifications
You must be signed in to change notification settings - Fork 2
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
docs: Events in README #106
Conversation
…ider-java into evnt-generic
* context inheritence and closing WIP * don't throw for closed send() + tests * mark GrpcEventUploader constructor as package private --------- Co-authored-by: Andreas Karlsson <[email protected]>
564ec9a
to
072030d
Compare
072030d
to
783fd73
Compare
Co-authored-by: Nicklas Lundin <[email protected]>
Co-authored-by: Nicklas Lundin <[email protected]>
Co-authored-by: Nicklas Lundin <[email protected]>
README.md
Outdated
final Confidence confidenceWithContext = confidence.withContext(ConfidenceValue.of("context-value")); | ||
confidenceWithContext.send("my-event", ConfidenceValue.of("event-value")); | ||
``` | ||
The "my-event" event in the example above will contain fields for "event-value", "context-value" and the Evaluation Context data set via `OpenFeatureAPI.getInstance().setEvaluationContext(...)`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
The "my-event" event in the example above will contain fields for "event-value", "context-value" and the Evaluation Context data set via `OpenFeatureAPI.getInstance().setEvaluationContext(...)`. | |
The "my-event" event in the example above will contain fields for "event-value", "context-value" and the Evaluation Context data set via `OpenFeatureAPI.getInstance().setEvaluationContext(...)`. | |
We suggest you you this `withContext()`-API to send events which are "request context" based events as well. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We suggest you you this
withContext()
-API to send events which are "request context" based events as well.
Can you re-phrase slightly or explain here what you mean?
9865407
to
cf4cc03
Compare
cf4cc03
to
b965755
Compare
WAIT ON RELEASE: #88