Skip to content

get method always returns null #258

@johnslaughter-ihsmarkit

Description

I'm using the current published version of alcaeus (1.3.1). So far I have been unable to fetch property information using the get method. The typed helper method all seem to work however. I believe that the issue might stem from the rdfine lib - but I haven't had a chance to check that out yet.

EDIT:
On second look, I believe that the issue stems from the implementation of getArray in rdfine which filters out all properties that are not named or blank nodes.

https://github.com/tpluscode/rdfine/blob/377c603b222c30f75e8ecfe1ae6cd7dbfce5ccaf/packages/core/RdfResource.ts#L240

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