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.
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
[Core] KISS 1 - Finite State Machine [Merge me first] - (Issue: #499) #520
[Core] KISS 1 - Finite State Machine [Merge me first] - (Issue: #499) #520
Changes from all commits
143feaa
a046984
82505e4
da9774b
f784dab
049023c
a18ecf5
e01c75c
142d53b
3c84eae
4eed45a
b094622
e6e8fe5
f8ed453
2a21542
e70b308
0d20ada
963212a
8871a3d
8d50538
5141f07
1d98c9f
f5f9777
4c5f50c
7023ca0
34f3d87
74d012f
d697a7f
8e89219
c66a5c8
eb4174b
7b974a9
8a5de14
3a71510
a2e3348
f006a1d
8cdc827
5514fc3
72f96d9
934fe00
9bf8b81
724a326
c0cdeac
e5c93f7
7381c8b
51e971e
43d31cd
61bdd35
65ac7ce
8c5ad05
9fe0dc6
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.
Since we're embedding
IntegradbleModule
, you should be able to usepocketBus
directlyThere 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.
Your example is not representative of the scenario.
In here we are overloading something that's handled already in the embedded struct.
If I did what you are suggesting I guess we would have this 🤔:
Let's play dumb and try it out...
Actually the behaviour is even weirder:
overloading.mp4
nothing happens!
If I try to "walk my way into the stack"... it stops there, suggesting that my solution seems to be the right approach.
overloading2.mp4
If you wanna play along:
https://go.dev/play/p/s8ncxTVMMp6
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.
Okay, I understand what I was missing and why you're solution works.
However, now I'm trying to understand:
foo
function (bey default)I can understand why (1) is not happening, but without researching, this makes me feel that the playground abstracts (2) away for us.