-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add support for decisions that take no action #1071
Conversation
5348c4d
to
d128a8b
Compare
d128a8b
to
42bcede
Compare
My first comment here is you bought up the idea of having this be a separate extension, so colonies can choose to install these individually. Is this just a prototype implementation for feedback, or do you want to keep the functionality bundled? |
See my comment on #1068 |
42bcede
to
7d16570
Compare
7d16570
to
56df1f6
Compare
69cd0f8
to
1051dcf
Compare
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'd actually be inclined to call the function finalizable()
because in ~most cases it returns the Finalized
state, and so would make getMotionState
read a bit better. The intended state in those branches is Finalizable
except for this new exception, so Id' say we could justify tucking that exception away in the finalizable
function for people who are curious. But I'll leave that up to you.
Closes #1068.
Not happy with the ternary, would very much like a function with a more understandable if statement, but can't come up with a semantic name for that function beyond
finalizableOrFinalized
. Please suggest something!Should the 'special action' be longer than just a signature? Obviously it's all meaningless, but...