-
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.
cleanup unrelated classes when rooting (GSI-720)
... from schemapack.
- Loading branch information
1 parent
f476198
commit c67eee0
Showing
4 changed files
with
105 additions
and
5 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
examples/schemapack/valid/unrelated_classes.schemapack.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,11 @@ | ||
schemapack: 0.3.0 | ||
description: Two unrelated classes | ||
classes: | ||
SomeClass: | ||
id: | ||
propertyName: alias | ||
content: ../../content_schemas/AnyObject.schema.json | ||
AnotherClass: | ||
id: | ||
propertyName: alias | ||
content: ../../content_schemas/AnyObject.schema.json |
9 changes: 9 additions & 0 deletions
9
examples/schemapack/valid/unrelated_classes_rooted.schemapack.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,9 @@ | ||
schemapack: 0.3.0 | ||
description: Two unrelated classes # but rooted to one class so that only that class is | ||
# is kept. | ||
classes: | ||
SomeClass: | ||
id: | ||
propertyName: alias | ||
content: ../../content_schemas/AnyObject.schema.json | ||
rootClass: SomeClass |
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