Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Pass additional arguments directly in the helper #30

Open
hombreDelPez opened this issue Mar 31, 2019 · 0 comments
Open

Feature: Pass additional arguments directly in the helper #30

hombreDelPez opened this issue Mar 31, 2019 · 0 comments
Assignees
Milestone

Comments

@hombreDelPez
Copy link
Contributor

In Nitro there is a possibility to directly pass additional arguments to the pattern, which overrides the defaults from the data-file:

{{pattern name='example' modifier='blue'}}

See here: https://github.com/namics/generator-nitro/blob/master/packages/project-nitro/project/docs/nitro.md#render-patterns

The following things should be possible:

  • Pass multiple arguments
  • Don't just pass strings (i.e. hardcoded values) but objects should also be possible
  • The passed objects must be properties of a the same or higher contexts
@hombreDelPez hombreDelPez added this to the Release 1.2.0 milestone Mar 31, 2019
hombreDelPez pushed a commit that referenced this issue Apr 1, 2019
@hombreDelPez hombreDelPez self-assigned this Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant