Is there a way of using strings for assigns keys?

Apparently I can assign a k => v pair but then @anassign in a template expects the assign to have an atom (:anassign) as key in assigns. Is there a way to use string as key?

Hey @silverdr no assigns must have atom keys. If you need something with string keys, have an assign that is itself a map, and that map can have string keys.

4 Likes