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

feat: Adds support for client-side prerequisite events #172

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

tanderson-ld
Copy link
Contributor

@tanderson-ld tanderson-ld commented Oct 30, 2024

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

@tanderson-ld tanderson-ld requested a review from a team as a code owner October 30, 2024 17:10
@@ -50,7 +50,7 @@ final class DefaultEventProcessor implements EventProcessor {

DefaultEventProcessor(
{required LDLogger logger,
bool indexEvents = false,
required bool indexEvents,
Copy link
Contributor Author

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.

Copy link
Member

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}
);
Copy link
Contributor Author

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.

@tanderson-ld tanderson-ld merged commit 7a042c2 into main Oct 31, 2024
2 checks passed
@tanderson-ld tanderson-ld deleted the ta/sdk-691/client-side-prereqs branch October 31, 2024 14:48
tanderson-ld pushed a commit that referenced this pull request Oct 31, 2024
🤖 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).
tanderson-ld added a commit that referenced this pull request Oct 31, 2024
🤖 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>
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

Successfully merging this pull request may close these issues.

2 participants