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

Notes property not working when defined via pattern collection #85

Open
derekrushforth opened this issue Aug 10, 2016 · 1 comment
Open

Comments

@derekrushforth
Copy link

Hey Folks!

The name and order properties inside of collection patterns seem to be working great, however note isn't rendering anything for me. I saw that this was defined in the example, so I figured it was possible.

@erikjung
Copy link
Contributor

Hi @derekrushforth,

This is an inconsistency that we're aware of and plan on addressing in the drizzle-builder package. Some of the meta data properties (e.g. name, order) are hoisted to a higher level in the template scope for convenience, while others remain namespaced in the data object.

Can you try accessing the property in your template as data.notes and see if that works?

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

No branches or pull requests

2 participants