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 files with a top level map should be interpreted as a single prototype #1238

Open
Yam76 opened this issue Aug 19, 2020 · 0 comments
Open
Labels
Area: ECS Issue: Feature This issue is a feature request

Comments

@Yam76
Copy link

Yam76 commented Aug 19, 2020

  • YAML files with a top level array are deserialized as we are currently doing.
  • YAML files with a top level map are treated as a single prototype.

Then it's very easy to

  • Group related prototypes into one file when they don't have a clear naming scheme, e.g. microwave recipes
  • Separate prototypes into their own files when needed (for e.g. heavy nesting, convenient browsing).

Originally posted by @Yam76 in #1236 (comment)

@Acruid Acruid added Area: ECS Issue: Feature This issue is a feature request labels Mar 31, 2021
@mirrorcult mirrorcult added this to YAML / XAML / Fluent in Tooling Roadmap Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ECS Issue: Feature This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants