Skip to content

Improve jsonld.UnsupportedVersion error for strings. #559

Open
@davidlehn

Description

@davidlehn

jsonld.UnsupportedVersion error should be more helpful when the error is due to a string value being used. "@version": "1.1" will report jsonld.UnsupportedVersion: Unsupported JSON-LD version: 1.1, which is confusing and doesn't hint that a number should be used like "@version": 1.1.

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