Having fields with undefined values in retrieved objects is redundant.
For example in some cases getting objects with PropertyShapeSchema will return:
{ // ...
datatype: undefined,
description: undefined,
maxCount: 1,
minCount: undefined,
name: undefined,
nodeKind: undefined,
order: undefined,
path: "jsld:birthDate",
shapeModifiability: undefined,
valueModifiability: undefined,
}
Is there any reason to have these fields? Extracting missing fields and fields with value undefined is sort of equivalent
Having fields with
undefinedvalues in retrieved objects is redundant.For example in some cases getting objects with
PropertyShapeSchemawill return:Is there any reason to have these fields? Extracting missing fields and fields with value undefined is sort of equivalent