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

Labels for nodes. #117

Open
tomaszmichalak opened this issue Mar 11, 2020 · 0 comments
Open

Labels for nodes. #117

tomaszmichalak opened this issue Mar 11, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tomaszmichalak
Copy link
Member

tomaszmichalak commented Mar 11, 2020

Is your feature request related to a problem? Please describe.
Task is a graph of node. Each node has its unique random id. We need some human readable value for nodes - labels.

Describe the solution you'd like
Current:

web-api-test {
  action = fetch-user-info
  onTransitions._success {
    actions = [
      {
        action = fetch-payment-providers
      }
      {
        action = fetch-offers-with-cb
      }
    ]
    onTransitions {
      _success {
        action = create-response
      }
    }
  }
}

Expected:

web-api-test {
  action = fetch-user-info
  label = Fetch user details
  onTransitions._success {
    actions = [
      {
        action = fetch-payment-providers
        label = Fetch user payments
      }
      {
        action = fetch-offers-with-cb
        label = Fetch user offers
      }
    ]
    onTransitions {
      _success {
        action = create-response
        label = Compose JSON response
      }
    }
  }
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@tomaszmichalak tomaszmichalak added good first issue Good for newcomers help wanted Extra attention is needed enhancement New feature or request labels Mar 17, 2020
@oskarjerzyk oskarjerzyk self-assigned this Apr 2, 2020
oskarjerzyk added a commit that referenced this issue May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants