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

else if statement doesn't generate the right diagram #131

Open
nofun97 opened this issue Jul 7, 2020 · 0 comments
Open

else if statement doesn't generate the right diagram #131

nofun97 opened this issue Jul 7, 2020 · 0 comments
Labels
bug Something isn't working P1

Comments

@nofun97
Copy link
Member

nofun97 commented Jul 7, 2020

The else if statement doesn't generate the correct diagram

App:
    /endpoint:
        GET:
            return ok
        POST:
            if predicate:
                . <- GET /endpoint
            else predicate2:
                App2 <- POST /endpoint2
            else:
                App2 <- GET /endpoint2

Generated:
image

it should put predicate2 just like the first if block opt [predicate2]

@nofun97 nofun97 added the bug Something isn't working label Jul 7, 2020
@ChloePlanet ChloePlanet added the P1 label Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
None yet
Development

No branches or pull requests

2 participants