-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PostData<T> does not work correctly except in string case #1800
Comments
We had a pretty extensive unit test suite for Again thanks for opening this issue @godefroi much much appreciated 👍 |
Clearly it's the |
More information: Passing a It should probably be: This would eliminate the cast. |
In es-net 2.0.0-rc1, I have found that using
PostData<T>
in various scenarios resulted in odd content being posted, as verified by Wireshark. I can update this issue tomorrow with the specific examples of the data, but the only scenario that I could verify as working is thePostData<string>
case. When the type is a serializable type orbyte[]
, the correct data is not posted to the server. I did not try theIEnumerable<T>
cases.The text was updated successfully, but these errors were encountered: