You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: GoFeatureFlagUser class was not serialized. (#33)
* fix: GoFeatureFlagUser class was not serialized.
System.Text.Json does not serialize private members of a class.
Since the class `GoFeatureFlagUser` had the following private members:
```
private string Key { get; set; }
private bool Anonymous { get; set; }
private Dictionary<string, object> Custom { get; set; }
```
When it was serialized as the User in GOFeatureFlagRequest,
the Json that was returned was `{ "user": {}, ...`
instead of `{ "user": { "key: : ...`
This commit fixes this issue by making the property public
and adding a test.
* updates documents
The name of the package was wrong it should be
***OpenFeature.Contrib.GOFeatureFlag*** and
not *OpenFeature.Contrib.Providers.GOFeatureFlag*
Signed-off-by: Eric Holton <[email protected]>
* chore: fix white space
Signed-off-by: Eric Holton <[email protected]>
* chore: fix white space
Signed-off-by: Eric Holton <[email protected]>
---------
Signed-off-by: Eric Holton <[email protected]>
0 commit comments