mobx-state-tree icon indicating copy to clipboard operation
mobx-state-tree copied to clipboard

Add flag to determine if an action is a flow based action

Open Slooowpoke opened this issue 3 years ago • 2 comments

I was working on some integrations and I found a need to know whether an action was wrapped in flow. It feels like it might be specific to my use case, but equally, it didn't seem like it would cause much bother and might help others?

It's quite a simple PR, just adding _isFlowAction to flow based functions and using that in the reflection properties.

Slooowpoke avatar Jan 14 '22 22:01 Slooowpoke

This looks good to me @Slooowpoke! Could you resolve conflicts & then I'll release a new version.

jamonholmgren avatar May 09 '22 18:05 jamonholmgren

I fixed the conflicts @Slooowpoke -- would you be able to add some documentation for this?

jamonholmgren avatar Aug 09 '22 05:08 jamonholmgren

Just waiting on docs.

jamonholmgren avatar Mar 10 '23 03:03 jamonholmgren

Sorry, I completely forgot about this, thank you for fixing the conflicts I'll write something later today

Slooowpoke avatar Mar 10 '23 09:03 Slooowpoke

Hey @Slooowpoke - any update on the docs here?

If you don't have the time or energy, I'm happy to take that on and get this merged, although I'd love maybe a short bulleted list about these changes to start from.

coolsoftwaretyler avatar Jun 25 '23 16:06 coolsoftwaretyler

Having not heard back, I'm going to assign myself and see if I can put together some docs for this.

coolsoftwaretyler avatar Jul 02 '23 21:07 coolsoftwaretyler

Hey @jamonholmgren - I updated the docs for this PR, to the best of my understanding of what's changed here.

@Slooowpoke - if you end up seeing this in the near future, let me know if there's any modifications you'd make to my docs here. I think I understood the changes correctly. Would love to get this PR merged for y'all, I know it's been a while.

coolsoftwaretyler avatar Jul 02 '23 21:07 coolsoftwaretyler

After messing around on a separate branch, I figured I should run yarn build-docs as well, but I'm not exactly sure if that's required for the PR, or if we do that in a separate process elsewhere.

coolsoftwaretyler avatar Jul 03 '23 03:07 coolsoftwaretyler