drizzle icon indicating copy to clipboard operation
drizzle copied to clipboard

Notes property not working when defined via pattern collection

Open derekrushforth opened this issue 9 years ago • 1 comments

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.

derekrushforth avatar Aug 10 '16 14:08 derekrushforth

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?

erikjung avatar Aug 12 '16 02:08 erikjung