Skip to content

Commit

Permalink
fix: Should map metadata when converting from ResolutionDetails to Fl…
Browse files Browse the repository at this point in the history
…agEvaluationDetails

Signed-off-by: Benjamin Evenson <[email protected]>
  • Loading branch information
benjiro committed Jul 25, 2024
1 parent 79def47 commit 6432595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenFeature/Extension/ResolutionDetailsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internal static class ResolutionDetailsExtensions
public static FlagEvaluationDetails<T> ToFlagEvaluationDetails<T>(this ResolutionDetails<T> details)
{
return new FlagEvaluationDetails<T>(details.FlagKey, details.Value, details.ErrorType, details.Reason,
details.Variant, details.ErrorMessage);
details.Variant, details.ErrorMessage, details.FlagMetadata);
}
}
}

0 comments on commit 6432595

Please sign in to comment.