Support nested objects#18
Draft
Chris1221 wants to merge 1 commit into
Draft
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #14
Add support for arbitrary levels of nesting in
yamldoc.Documentation Updates
docs/hier_tutorial.mdto reflect support for arbitrary levels of nesting.README.mdto remove the note about the two-level nesting limitation.Code Changes
yamldoc/parser.pyto handle arbitrary levels of nesting.yamldoc/parser.pyto add type metadata for deeper nested entries.Test Updates
test/test_examples.pyfor deeper nesting.test/test_exclude.pyfor deeper nesting exclusion.test/yaml/two_level.yamlandtest/schema/two_level.schemato include examples of deeper nesting.For more details, open the Copilot Workspace session.