-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix comment handling (GSI-718) (#33)
correctly handle commenting in both datapack contents and schemapack content schemas
- Loading branch information
1 parent
f476198
commit 9f9f6bb
Showing
3 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
examples/datapack/valid/self_relation/commented_content.datapack.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Using comments in content should not cause any problems | ||
# but did in the past. | ||
datapack: 0.3.0 | ||
resources: | ||
SomeClass: | ||
a: | ||
content: | ||
test: | ||
- test # Is this comment causing problems? | ||
relations: | ||
some_relation: | ||
- a |
This file contains 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
This file contains 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