-
Notifications
You must be signed in to change notification settings - Fork 795
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
made "batchMsg" public since it should be #114
Conversation
Hey, Treilik! What’s your use case? Asking because |
Hi meowgorithm! |
I think this is a reasonable request, as a I guess the danger is, that people could start using it in ways that make it a bit of a misnomer: when they actually just want a slice of |
No, not yet, but i can explain the case:
leave box (
bubbletea calls the
the
As i sad i have a way around it, and i know that since i bypass a |
Thanks for the very detailed description, Treilik. One thing I'm not following is how you’re accessing
Let me know: I may be missing something. |
I think this is the crucial part you are missing:
or to put it into other words: This is my use-case, but maybe the core problem is, that as soon as a other program (my boxer) calls by it self a Hope this helps to clear up my problem, but aside from this, i do think that it would be nicer if public function return public types. Thanks for taking the time :) |
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.
Alright, this makes sense. Let’s do it. Thanks for the contribution, @treilik!
There's no good reason to keep it private. Exporting it helps testability, debugging, and allows for a few special model.Update implementations.
It's been a long time in the making! Thank you @treilik! |
because it carry's no special meaning which should be private,
and there are use cases where its necessary to access the Batched
Messages. (I know because i have one ;)