Skip to content

Null safe not allowed in loop #79

@shoon

Description

@shoon

The following syntax does not translate over from Groovy (where it does work)

Groovy:

{list user.keyStore?.keys}

...

{/list}

Rythm:
@for(user.keyStore?.keys) {
...
}

Error:
Syntax error on token "?", delete this token

What is the correct method for null safe checks inside of a loop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions