Skip to content
Discussion options

You must be logged in to vote

Because it’s a strongly typed model, you can’t have multiple types in that way.

Instead what you can do is use an enum for input and follow something like the “multitask” example.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jakob-lilliemarck
Comment options

@maxcountryman
Comment options

@jakob-lilliemarck
Comment options

@maxcountryman
Comment options

Answer selected by jakob-lilliemarck
@jakob-lilliemarck
Comment options

@maxcountryman
Comment options

@jakob-lilliemarck
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants