Skip to content

Don't require createdAt in viewer? #43

@jg10-mastodon-social

Description

@jg10-mastodon-social

This is again a rather niche feature request. I created a file with several movies that didn't have <http://purl.org/dc/terms/created> defined. The viewer failed to load because Cannot read properties of undefined (reading 'getTime')

.sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime())

The file successfully loaded when the required triples were added.

This seems to be the only use of createdAt, so it would be nice if the viewer was robust to the triples being missing 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions