We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider following example:
public class MyGrain : IMyGrain { public Task<Stack<int>> GetStack() { var stack = new Stack<int>(); stack.Push(1); stack.Push(2); stack.Push(3); stack.Push(4); return Task.FromResult(stack); } }
And the calling code:
var stack = await myGrain.GetStack(); var value = stack.Pop(); // returns 1
Here in StackCodec during deserealization process values from original stack are just pushed to the new stack what makes the order to be reversed.
StackCodec
orleans/src/Orleans.Serialization/Codecs/StackCodec.cs
Line 97 in cd09126
The text was updated successfully, but these errors were encountered:
Thank you for reporting. I've opened #8768 with a fix + test.
Sorry, something went wrong.
I've opened #8769 to ensure that this does not happen again.
ReubenBond
Successfully merging a pull request may close this issue.
Consider following example:
And the calling code:
Here in
StackCodec
during deserealization process values from original stack are just pushed to the new stack what makes the order to be reversed.orleans/src/Orleans.Serialization/Codecs/StackCodec.cs
Line 97 in cd09126
The text was updated successfully, but these errors were encountered: