fizzbee icon indicating copy to clipboard operation
fizzbee copied to clipboard

Allow creating multiple roles on the same line.

Open damnMeddlingKid opened this issue 1 year ago • 0 comments

Currently if we try to make multiple assignments of roles single line we get an error.

action Init:
    accounts = [Account(name=customer), Account(name="Bob")]

> panic: Creating multiple roles in single step is not supported yet

The work around is to assign roles on multiple lines which is kind of awkward

action Init:
    accounts = []
    accounts.append(Account(name="Alice"))
    accounts.append(Account(name="Bob"))

damnMeddlingKid avatar Aug 19 '24 23:08 damnMeddlingKid