input and params specified as string names #4757
Unanswered
apostopher
asked this question in
Q&A
Replies: 1 comment 1 reply
-
We'll consider that but it could put a lot of pressure on TypeScript here since we can only allow compatible strings. This would require O(m * n) relationship checks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the
input
for invoked actors andparams
for actions and guards can only be specified inline.it will be good to support
named input
andnamed params
e.g.
Specify named input in the invoke config.
Provide implementation of the named
input
¶ms
in setup function / machine configWhy?
by allowing named inputs and params, the machine config is serialisable. we can send it via api, store it in db, download as json etc.
Beta Was this translation helpful? Give feedback.
All reactions