Closed azaroth42 closed 5 years ago
We might need to tweak the proposal a bit -- because right now I think requireAll
would require @type
if present (because when @type
is present it is always required). The problem is that it doesn't require any of the other properties when @type
is present. The proposal is to make it such that when @type
is present, all of the other properties are also required.
Or, more generally, when requireAll
is true
, all specific properties must be present or there is no match. There is no special treatment of @type
or @id
.
This issue was discussed in a meeting.
RESOLVED: If requireAll is present, then all keys in the frame are used to determine a match, including @type and @id
From discussion on the mailing list, it was noted that the
requireAll
flag does not actually require all, it requires everything other than@id
and@type
.The proposal arising is to make it actually require all of the asserted features, including
@type
and@id
.