Skip to content

Undefined optional fields #9

@Mvwivs

Description

@Mvwivs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions