-
Notifications
You must be signed in to change notification settings - Fork 43
Conversation
Couldn't resist. Took a break from deploying. Will pick it up tomorrow. |
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.
this is dang cool dude. love that the bits and pieces are coming together like this. so nice.
return nil | ||
} | ||
|
||
func callSub(threadId string, types []string) (<-chan core.ThreadUpdate, error) { |
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.
yeh this is nice, glad its proving useful outside of demos!
@@ -132,6 +133,12 @@ func (a *api) Start() { | |||
} | |||
} | |||
|
|||
messages := v0.Group("/messages") |
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.
this feels a bit weird having the two separate paths like this? not sure how else it should be done... is this pretty standard practice?
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.
yeah, agreed. same for files. my thought there was it's nice to be able to paginate across all files / messages... but maybe not needed. can revisit.
Cheers for the look @carsonfarmer ! |
messages
is likecomments
without a target, added to top level of threadmessages
andsub
commands intochat
💯