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

chore: additional unit tests for flagd provider #203

Merged
merged 3 commits into from
May 15, 2024

Conversation

bacherfl
Copy link
Contributor

@bacherfl bacherfl commented May 14, 2024

Closes #190

@bacherfl bacherfl marked this pull request as ready for review May 14, 2024 12:22
@bacherfl bacherfl requested review from a team as code owners May 14, 2024 12:22
@@ -183,7 +183,7 @@ private ResolutionDetails<T> ResolveValue<T>(string flagKey, T defaultValue, Eva
// convert the EvaluationContext object into something the JsonLogic evaluator can work with
dynamic contextObj = (object)ConvertToDynamicObject(targetingContext);

// convery whatever is returned to a sring to try to use is an a index to Variants
// convert whatever is returned to a string to try to use it as an index to Variants
Copy link
Member

Choose a reason for hiding this comment

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

I hope I didn't write this but I fear I did 😅

@toddbaert toddbaert merged commit 38a59f0 into main May 15, 2024
8 checks passed
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.

[flagd] add additional unit tests for recent logic changes and type checks/conversions
3 participants