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: client-side prerequisite events #24

Merged
merged 10 commits into from
Oct 30, 2024
Merged

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Oct 24, 2024

Allows the client SDK to deserialize prerequisites from the flag model and then emit prerequisite evaluation events.

{
prerequisites ??= new List<string>();
prerequisites.Add(reader.GetString());
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing the null coalescing operator because otherwise, we'd potentially construct an empty prereq array if the JSON value is null.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review October 28, 2024 21:31
@cwaldren-ld cwaldren-ld requested a review from a team as a code owner October 28, 2024 21:31
@cwaldren-ld
Copy link
Contributor Author

Noting that the Server SDK big segments tests failed, as well as the contract tests at one point (but passed upon re-run).

These changes are entirely to the Client SDK, so I'm going to merge anyways.

@cwaldren-ld cwaldren-ld merged commit f5828cb into main Oct 30, 2024
7 of 8 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/sdk-806-client-prereqs branch October 30, 2024 17:46
cwaldren-ld pushed a commit that referenced this pull request Nov 1, 2024
🤖 I have created a release *beep* *boop*
---


##
[5.3.0](LaunchDarkly.ClientSdk-v5.2.1...LaunchDarkly.ClientSdk-v5.3.0)
(2024-10-31)


### Features

* client-side prerequisite events
([#24](#24))
([f5828cb](f5828cb))

---
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: github-actions[bot] <41898282+github-actions[bot]@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