-
Notifications
You must be signed in to change notification settings - Fork 250
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
chore: move channels into impl classes #2794
Conversation
29d5e6e
to
cd86343
Compare
@@ -136,4 +136,15 @@ private void UpdateEventSubscription(string eventName, bool enabled) | |||
}), | |||
true).IgnoreException(); | |||
} | |||
|
|||
internal Task<JsonElement?> SendMessageToServerAsync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this specialization of the template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some legacy, let me try to follow-up with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out we have it twice:
a) SendMessageToServerAsync without the generic gives you a JsonElement? back.
b) SendMessageToServerAsync with a generic which internally deserialises the JSON for you into some specific data structure T
So no need to follow-up!
This broke implementation: |
Thanks for filing, I created #2828 as a fix. |
No description provided.