Ensure encoded paths are handled in lookup. #84

This partially resolves a whacky path ref lookup in the index mentioned in #84, but it's not a full fix, that requires the build out of a resolved spec. The design needs thought and care.
This commit is contained in:
Dave Shanley
2023-02-22 06:49:59 -05:00
parent 696e810ec7
commit d8a7b6c21d
2 changed files with 13 additions and 4 deletions

View File

@@ -638,10 +638,6 @@ func (s *Schema) Build(root *yaml.Node, idx *index.SpecIndex) error {
s.XML = low.NodeReference[*XML]{Value: &xml, KeyNode: xmlLabel, ValueNode: xmlNode}
}
/*
*/
// handle properties
props, err := buildPropertyMap(root, idx, PropertiesLabel)
if err != nil {