-
Notifications
You must be signed in to change notification settings - Fork 10
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
The LdValue.Convert.Long
converter returns LdValue.AsInt
instead of LdValue.AsLong
#32
Comments
I'm realizing that the test I posted might not be valid. What is the maximum numeric value LaunchDarkly supports? |
Since the maximum floating-point precision is somewhat different from one language to another, it's not recommended to rely on being able to encode as many digits as a Go
|
The fix for this is now in .NET SDK 5.9.0 and Xamarin SDK 1.1.0. |
Is this a support request?
No.
Describe the bug
The
LdValue.Convert.Long
converter returnsLdValue.AsInt
instead ofLdValue.AsLong
.dotnet-sdk-common/src/LaunchDarkly.CommonSdk/Public/LdValue.cs
Line 958 in e37d5cb
To reproduce
Initialize an
LdValue
with a long list and get it back.Expected behavior
I expect a list with the correct values to be returned.
SDK version
4.0.1
The text was updated successfully, but these errors were encountered: