Skip to content

Commit

Permalink
add comment about hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Oct 29, 2024
1 parent 0e81519 commit 3cd3e23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/sdk/client/src/LdClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,9 @@ EvaluationDetail<T> errorResult(EvaluationErrorKind kind) =>
// to emitting the events.
//
// We're passing LdValue.Null to match a server-side SDK's behavior when evaluating prerequisites.
//
// NOTE: if "hooks" functionality is implemented into this SDK, take care that evaluating prerequisites
// does not trigger hooks. This may require refactoring the code below to not use JsonVariationDetail.
if (flag.Prerequisites != null)
{
foreach (var prerequisiteKey in flag.Prerequisites)
Expand Down

0 comments on commit 3cd3e23

Please sign in to comment.