Skip to content

GStrings in attribute selectors do not work #525

@robaca

Description

@robaca

It should be possible to pass GStrings for attribute values.

The following content definition does not resolve:

accountLink { id -> $('a', href: "/account/$id/profile") }

but the following does:

accountLink { id -> $('a', href: "/account/$id/profile" as String) }

It took me an hour to find the problem, as I just did expect id had to work.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions