Validate final identity fields as application payload
This commit is contained in:
@@ -59,7 +59,7 @@ func analyzeIdentifiedInheritanceGraph(sequence *document.Node, scopePath Path,
|
||||
}}
|
||||
}
|
||||
lookup, diagnostics := validateNormalizedSequenceIdentityFrom(
|
||||
sequence, scopePath, fields, sequenceCombinationIdentityCodes, 0,
|
||||
sequence, scopePath, fields, sequenceCombinationIdentityCodes, 0, sequenceStructuralRecord,
|
||||
)
|
||||
if len(diagnostics) != 0 {
|
||||
return nil, diagnostics
|
||||
@@ -136,7 +136,7 @@ func identifiedInheritanceReference(reference *document.Node, path Path, identit
|
||||
)}
|
||||
}
|
||||
}
|
||||
index := newSequenceMappingIndex(reference)
|
||||
index := newSequenceMappingIndex(reference, sequencePayloadRecord)
|
||||
tuple, _, missing, invalid := index.identity(identityFields)
|
||||
if missing != "" || invalid >= 0 || invalid == -2 {
|
||||
value := reference
|
||||
|
||||
Reference in New Issue
Block a user