Skip to content
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

Code generation #9

Open
RomanSoloweow opened this issue Jun 29, 2020 · 1 comment
Open

Code generation #9

RomanSoloweow opened this issue Jun 29, 2020 · 1 comment
Labels
Feature New feature or request Need discussion Usability Something to usability

Comments

@RomanSoloweow
Copy link
Member

Now the user needs to remember what name the transitions and states are described inside the file.
And work with them happens like this:

stateMachine.GetState("State1");

And I would like so

stateMachine.State1;

I must say that dynamic will not work, because you still need to remember the name.
Some kind of code generation is probably needed here, but so far I have not found a solution.

@RomanSoloweow RomanSoloweow added Feature New feature or request Need discussion Usability Something to usability labels Jun 29, 2020
@RomanSoloweow RomanSoloweow pinned this issue Jun 29, 2020
@RomanSoloweow
Copy link
Member Author

I think we can use SourceGenerator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Need discussion Usability Something to usability
Projects
None yet
Development

No branches or pull requests

1 participant