-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: Adds support for client-side prerequisite events #172
Conversation
@@ -50,7 +50,7 @@ final class DefaultEventProcessor implements EventProcessor { | |||
|
|||
DefaultEventProcessor( | |||
{required LDLogger logger, | |||
bool indexEvents = false, | |||
required bool indexEvents, |
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.
For reviewers: I was trying to find a way to not have to tweak this, but the typedef of EventProcessorFactory was not handling the optional named parameter with default 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.
I am not sure I see why the type here needs to change, it seems like it would just get redundantly passed, which should be fine. Like required at the factory level, but not at the constructor level.
That said I am indifferent to the change.
required bool allAttributesPrivate, | ||
required Set<AttributeReference> globalPrivateAttributes, | ||
DiagnosticsManager? diagnosticsManager} | ||
); |
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.
For reviewers: Added for test injection.
🤖 I have created a release *beep* *boop* --- ## [1.3.0](launchdarkly_dart_common-v1.2.1...launchdarkly_dart_common-v1.3.0) (2024-10-31) ### Features * Adds support for client-side prerequisite events ([#172](#172)) ([7a042c2](7a042c2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.4.0](launchdarkly_common_client-v1.3.1...launchdarkly_common_client-v1.4.0) (2024-10-31) ### Features * Adds support for client-side prerequisite events ([#172](#172)) ([7a042c2](7a042c2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Todd Anderson <127344469+tanderson-ld@users.noreply.github.com>
Requirements
I have added test coverage for new or changed functionality
I have followed the repository's pull request submission guidelines
I have validated my changes against all supported platform versions
Exception: Changes are not related to platforms.
Related issues
SDK-691