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

Support nested objects #14

Open
Chris1221 opened this issue Jun 16, 2023 · 0 comments
Open

Support nested objects #14

Chris1221 opened this issue Jun 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Chris1221
Copy link
Owner

Requested by @yahya280101. Allow for >2 levels of nesting. This could probably be done by tracking the header level and allowing for meta-entries to contain meta-entries, then passing in the header level.

@Chris1221 Chris1221 added the enhancement New feature or request label Jun 16, 2023
Chris1221 added a commit that referenced this issue Aug 8, 2024
Related to #14

Add support for arbitrary levels of nesting in `yamldoc`.

* **Documentation Updates**
  - Update `docs/hier_tutorial.md` to reflect support for arbitrary levels of nesting.
  - Update `README.md` to remove the note about the two-level nesting limitation.

* **Code Changes**
  - Modify `yamldoc/parser.py` to handle arbitrary levels of nesting.
  - Update `yamldoc/parser.py` to add type metadata for deeper nested entries.

* **Test Updates**
  - Add new test cases in `test/test_examples.py` for deeper nesting.
  - Add new test cases in `test/test_exclude.py` for deeper nesting exclusion.
  - Update `test/yaml/two_level.yaml` and `test/schema/two_level.schema` to include examples of deeper nesting.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Chris1221/yamldoc/issues/14?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant