Colons in property names..?

Follow

Comments

2 comments

  • Avatar
    Suzie Prince

    Hey Rob


    The problem here is that our macros markup is YAML and the colons in your property name are causing YAML syntax parsing problems.


    There are some suggestions on how to avoid this issue here. Specifically in your case I think that using the following should work.


    {{
    pie-chart
    data: "SELECT 'D: Stage', count(*) WHERE type = 'Defect'"
    }}

    Otherwise, yeah, it might be best to rename the property.

    I hope you can get this working.
    - Suzie

  • Avatar
    Rob Mason

    Hiya Suzie,


    Yeah, that's sorted it without having to rename any properties - surprised I didn't work that one out for myself!


    Thanks!

Please sign in to leave a comment.