Skip to content

Add {{array ...}} helper #128

Closed
Closed

Description

@kellyselden

It seems it would be a perfect companion to the {{hash ...}} helper:

{{hash
  name="parent"
  children=(array
    (hash
      name="child1"
    )
    (hash
      name="child2"
    )
  )
}}

It would probably get the most use in component integration tests, but could be useful in normal templates as well. Taken from here.

Activity

  1. Serabe commented on Mar 20, 2016

    @Serabe
    Member
  2. mmun commented on Apr 14, 2016

    @mmun
    Member

    This seems very natural to me. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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