kdl-org / kdl

the kdl document language specifications
https://kdl.dev
Other
1.1k stars 61 forks source link

Empty children aren't reflected in the data model. #219

Closed tabatkins closed 2 years ago

tabatkins commented 2 years ago

Closes #218

hkolbeck commented 2 years ago

Can you add a note to the test README as well?

tabatkins commented 2 years ago

That's already in the README due to

  • Node fields should be identifier <values> <properties> <children only if non-empty>

right? That's what made me think that an empty child list should be omitted in the first place.

hkolbeck commented 2 years ago

Whoops, yep. LGTM