Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Replace automatic ID with a given name #21

Closed
tdauth opened this issue Mar 20, 2019 · 0 comments
Closed

Replace automatic ID with a given name #21

tdauth opened this issue Mar 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tdauth
Copy link
Contributor

tdauth commented Mar 20, 2019

Let the user of the API define a name and directly return the new state machine.
This allows us to remove the custom type IdMap and hence simplifies the code.

Before:
val stateMachine = GuiStateMachineApi().createStateMachine()

After:
val stateMachine = GuiStateMachineApi().createStateMachine("test")

@tdauth tdauth added the enhancement New feature or request label Mar 20, 2019
@tdauth tdauth self-assigned this Mar 20, 2019
tdauth added a commit that referenced this issue Mar 21, 2019
The user has to specify a name per state machine.
This simplifies the code.
@tdauth tdauth closed this as completed Mar 22, 2019
tdauth added a commit that referenced this issue Mar 25, 2019
The user has to specify a name per state machine.
This simplifies the code.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant