This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Event streaming #183
Event streaming #183
Changes from 27 commits
45cf22e
50e7812
9fcb3b3
59ef6bf
63641a5
3621c19
98b8d54
f3f6936
9acce20
dc603c9
7bee0f0
f260176
5f7d4fe
109ec1c
a227d9a
f859e04
ccd1f9d
4a354cd
4c55de3
943485d
bd15b50
35e15be
7e75861
6b57420
fbb15ab
f1ebd02
767a016
5bcfcf1
e49bf56
b116a15
4bc7006
98f136e
e464081
5f4bac2
398b9ed
5563ab2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The alias "self-update" was removed in a recent PR. If I had to guess, I'd say that re-introducing it here was not intentional?
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.
Varlink does not provide proper enums or gRPC-like
oneof
. But I think that events can be modelled in a slightly more "type-safe" way. What do you think about this sort of structure:where
SectionEnd
,Started
, etc. have only non-optional fields?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.
I think this might be interesting to experiment, but I think I need to put it into a followup PR.