-
Notifications
You must be signed in to change notification settings - Fork 10k
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
StreamItem InvocationId cleanup #5315
Comments
This one is going to take some extra thought so I'm increasing the cost for now. If it comes in under cost, that's even better :) |
There's more thinking to do... the same base problem of InvocationId -vs- StreamId also applies to
Want to consider all of the cases when deciding on a good pattern. |
Just making two classes for each. It seems the flattest/cleanest even if it's not concise/elegant. |
@halter73 @mikaelm12 We have a bit of flexibility if we change the protocol version so we can have |
Done #4559 |
Thanks @DylanDmitri ! oh and @BrennanConroy 😉 |
Previously, stream items were returned from the server in response to an invocation, and so carried an invocation id for routing purposes.
Now, stream items can be sent to the server, and are sorted based on stream id. Regardless of direction, all id values are stored under the
InvocationId
field onStreamItem
. This is poor naming and rather misleading.Possible solutions include:
StreamId
andInvocationId
, only one of which can be filled at a timeRoutingId
, which is used both ways. This breaks backwards compatibility.StreamParameterItem
that's identical to stream item but has aStreamId
field instead.None of these solutions feels very clean.
The text was updated successfully, but these errors were encountered: