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

YAML mapping keys for item identifiers instead of "id" #83

Open
grahamdyson opened this issue Oct 31, 2019 · 0 comments
Open

YAML mapping keys for item identifiers instead of "id" #83

grahamdyson opened this issue Oct 31, 2019 · 0 comments

Comments

@grahamdyson
Copy link
Member

Items in Eunice YAML are either represented by just their identifier or a mapping that includes the identifier as an id key.

- item 1
- id: item 2
  dependsUpon: item 1

It might be possible to improve readability for items by using a mapping key to represent the identifier with other properties for that item as another mapping in the value.

- item 1
- item 2: { dependsUpon: item 1 }
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

1 participant